/// <summary> /// Create a new Account object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="status">Initial value of the status property.</param> /// <param name="credit_limit">Initial value of the credit_limit property.</param> /// <param name="password">Initial value of the password property.</param> /// <param name="balance">Initial value of the balance property.</param> /// <param name="cust_id">Initial value of the cust_id property.</param> public static Account CreateAccount(global::System.Int32 id, global::System.String status, global::System.Decimal credit_limit, global::System.String password, global::System.Decimal balance, global::System.Int32 cust_id) { Account account = new Account(); account.id = id; account.status = status; account.credit_limit = credit_limit; account.password = password; account.balance = balance; account.cust_id = cust_id; 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); }