Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Accounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAccounts(Account account)
 {
     base.AddObject("Accounts", account);
 }