/// <summary>
 /// Deprecated Method for adding a new object to the UserAccounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserAccounts(UserAccount userAccount)
 {
     base.AddObject("UserAccounts", userAccount);
 }
 /// <summary>
 /// Create a new UserAccount object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="emailAddress">Initial value of the EmailAddress property.</param>
 /// <param name="accountDisabled">Initial value of the AccountDisabled property.</param>
 /// <param name="dateAdded">Initial value of the DateAdded property.</param>
 public static UserAccount CreateUserAccount(global::System.Int32 userId, global::System.String username, global::System.String emailAddress, global::System.Boolean accountDisabled, global::System.DateTime dateAdded)
 {
     UserAccount userAccount = new UserAccount();
     userAccount.UserId = userId;
     userAccount.Username = username;
     userAccount.EmailAddress = emailAddress;
     userAccount.AccountDisabled = accountDisabled;
     userAccount.DateAdded = dateAdded;
     return userAccount;
 }