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