/// <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); }
/// <summary> /// Create a new BankAccount object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static BankAccount CreateBankAccount(global::System.Int32 id) { BankAccount bankAccount = new BankAccount(); bankAccount.ID = id; return bankAccount; }