/// <summary>
 /// Create a new UserRoleMap object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 public static UserRoleMap CreateUserRoleMap(global::System.Int64 userId, global::System.Int64 roleId)
 {
     UserRoleMap userRoleMap = new UserRoleMap();
     userRoleMap.UserId = userId;
     userRoleMap.RoleId = roleId;
     return userRoleMap;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRoleMaps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRoleMaps(UserRoleMap userRoleMap)
 {
     base.AddObject("UserRoleMaps", userRoleMap);
 }