예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRoleSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRoleSet(UserRole userRole)
 {
     base.AddObject("UserRoleSet", userRole);
 }
예제 #2
0
 /// <summary>
 /// Create a new UserRole object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sysVersion">Initial value of the SysVersion property.</param>
 /// <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.Int64 id, global::System.Int32 sysVersion, global::System.Int64 userId, global::System.Int64 roleId)
 {
     UserRole userRole = new UserRole();
     userRole.Id = id;
     userRole.SysVersion = sysVersion;
     userRole.UserId = userId;
     userRole.RoleId = roleId;
     return userRole;
 }