示例#1
0
 partial void DeleteUserRole(UserRole instance);
示例#2
0
 partial void UpdateUserRole(UserRole instance);
示例#3
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);
 }
示例#4
0
 partial void InsertUserRole(UserRole instance);
示例#5
0
 /// <summary>
 /// Create a new UserRole object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 public static UserRole CreateUserRole(global::System.Int32 userId, global::System.Int32 roleId)
 {
     UserRole userRole = new UserRole();
     userRole.UserId = userId;
     userRole.RoleId = roleId;
     return userRole;
 }