Beispiel #1
0
 /// <summary>
 /// Create a new UserRole object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDRole">Initial value of the IDRole property.</param>
 /// <param name="iDUser">Initial value of the IDUser property.</param>
 /// <param name="iDDivision">Initial value of the IDDivision property.</param>
 public static UserRole CreateUserRole(global::System.Guid id, global::System.Guid iDRole, global::System.Guid iDUser, global::System.Guid iDDivision)
 {
     UserRole userRole = new UserRole();
     userRole.ID = id;
     userRole.IDRole = iDRole;
     userRole.IDUser = iDUser;
     userRole.IDDivision = iDDivision;
     return userRole;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRole EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRole(UserRole userRole)
 {
     base.AddObject("UserRole", userRole);
 }