/// <summary> /// Create a new BankAccount object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="accountID">Initial value of the AccountID property.</param> /// <param name="balance">Initial value of the Balance property.</param> /// <param name="bankName">Initial value of the BankName property.</param> public static BankAccount CreateBankAccount(global::System.Int64 id, global::System.String accountID, global::System.Int64 balance, global::System.String bankName) { BankAccount bankAccount = new BankAccount(); bankAccount.ID = id; bankAccount.AccountID = accountID; bankAccount.Balance = balance; bankAccount.BankName = bankName; return bankAccount; }
/// <summary> /// Deprecated Method for adding a new object to the BankAccounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBankAccounts(BankAccount bankAccount) { base.AddObject("BankAccounts", bankAccount); }