/// <summary>
 /// Create a new UserRole object.
 /// </summary>
 /// <param name="id">Initial value of the ID 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.Int64 userId, global::System.Int64 roleId)
 {
     UserRole userRole = new UserRole();
     userRole.ID = id;
     userRole.UserId = userId;
     userRole.RoleId = roleId;
     return userRole;
 }
 /// <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);
 }