/// <summary> /// Create a new Account object. /// </summary> /// <param name="number">Initial value of the Number property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="accountInformation">Initial value of the AccountInformation property.</param> public static Account CreateAccount(global::System.Int64 number, global::System.DateTime date, global::System.String accountInformation) { Account account = new Account(); account.Number = number; account.Date = date; account.AccountInformation = accountInformation; 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); }