/// <summary>
 /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUsers(User user)
 {
     base.AddObject("Users", user);
 }
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="groupID">Initial value of the GroupID property.</param>
 /// <param name="passWord">Initial value of the PassWord property.</param>
 /// <param name="departID">Initial value of the DepartID property.</param>
 public static User CreateUser(global::System.Int32 userID, global::System.Int32 groupID, global::System.String passWord, global::System.Int32 departID)
 {
     User user = new User();
     user.UserID = userID;
     user.GroupID = groupID;
     user.PassWord = passWord;
     user.DepartID = departID;
     return user;
 }