/// <summary>
 /// Create a new UserRole object.
 /// </summary>
 /// <param name="userRoleId">Initial value of the UserRoleId property.</param>
 /// <param name="userRoleName">Initial value of the UserRoleName property.</param>
 public static UserRole CreateUserRole(global::System.Int32 userRoleId, global::System.String userRoleName)
 {
     UserRole userRole = new UserRole();
     userRole.UserRoleId = userRoleId;
     userRole.UserRoleName = userRoleName;
     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);
 }