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