/// <summary> /// Create a new Account object. /// </summary> /// <param name="username">Initial value of the Username property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="userLevel">Initial value of the UserLevel property.</param> public static Account CreateAccount(global::System.String username, global::System.String password, global::System.String userLevel) { Account account = new Account(); account.Username = username; account.Password = password; account.UserLevel = userLevel; return account; }
/// <summary> /// Deprecated Method for adding a new object to the Accounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccounts(Account account) { base.AddObject("Accounts", account); }