/// <summary> /// Create a new Account object. /// </summary> /// <param name="accountId">Initial value of the AccountId property.</param> /// <param name="accountName">Initial value of the AccountName property.</param> public static Account CreateAccount(global::System.Int32 accountId, global::System.String accountName) { Account account = new Account(); account.AccountId = accountId; account.AccountName = accountName; 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); }