예제 #1
0
 /// <summary>
 /// Create a new UserDepartment object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="department">Initial value of the Department property.</param>
 public static UserDepartment CreateUserDepartment(global::System.Guid id, global::System.String department)
 {
     UserDepartment userDepartment = new UserDepartment();
     userDepartment.ID = id;
     userDepartment.Department = department;
     return userDepartment;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserDepartments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserDepartments(UserDepartment userDepartment)
 {
     base.AddObject("UserDepartments", userDepartment);
 }