/// <summary>
 /// Create a new Users object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="login">Initial value of the Login property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="passwordHash">Initial value of the PasswordHash property.</param>
 /// <param name="passwordSalt">Initial value of the PasswordSalt property.</param>
 /// <param name="info">Initial value of the Info property.</param>
 /// <param name="isApproved">Initial value of the IsApproved property.</param>
 /// <param name="role">Initial value of the Role property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static Users CreateUsers(global::System.Guid userId, global::System.String login, global::System.String email, global::System.String passwordHash, global::System.String passwordSalt, global::System.String info, global::System.Boolean isApproved, global::System.String role, global::System.DateTime createDate)
 {
     Users users = new Users();
     users.UserId = userId;
     users.Login = login;
     users.Email = email;
     users.PasswordHash = passwordHash;
     users.PasswordSalt = passwordSalt;
     users.Info = info;
     users.IsApproved = isApproved;
     users.Role = role;
     users.CreateDate = createDate;
     return users;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUsers(Users users)
 {
     base.AddObject("Users", users);
 }