/// <summary> /// Deprecated Method for adding a new object to the AccountsView EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccountsView(AccountsView accountsView) { base.AddObject("AccountsView", accountsView); }
/// <summary> /// Create a new AccountsView object. /// </summary> /// <param name="accountID">Initial value of the accountID property.</param> /// <param name="accountNumber">Initial value of the accountNumber property.</param> /// <param name="bankID_pk">Initial value of the bankID_pk property.</param> /// <param name="bank">Initial value of the bank property.</param> /// <param name="active">Initial value of the active property.</param> public static AccountsView CreateAccountsView(global::System.Int32 accountID, global::System.String accountNumber, global::System.Int32 bankID_pk, global::System.String bank, global::System.Boolean active) { AccountsView accountsView = new AccountsView(); accountsView.accountID = accountID; accountsView.accountNumber = accountNumber; accountsView.bankID_pk = bankID_pk; accountsView.bank = bank; accountsView.active = active; return accountsView; }