示例#1
0
 /// <summary>
 /// Create a new Account object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="balance">Initial value of the Balance property.</param>
 public static Account CreateAccount(global::System.Int64 id, global::System.String name, global::System.Decimal balance)
 {
     Account account = new Account();
     account.ID = id;
     account.Name = name;
     account.Balance = balance;
     return account;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Account EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAccount(Account account)
 {
     base.AddObject("Account", account);
 }