/// <summary> /// Create a new Account object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="account_type">Initial value of the account_type property.</param> /// <param name="financial_institution">Initial value of the financial_institution property.</param> /// <param name="currency">Initial value of the currency property.</param> public static Account CreateAccount(global::System.Int64 id, global::System.String name, global::System.Int64 account_type, global::System.Int64 financial_institution, global::System.Int64 currency) { Account account = new Account(); account.id = id; account.name = name; account.account_type = account_type; account.financial_institution = financial_institution; account.currency = currency; 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); }