Example #1
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(Accounts accounts)
 {
     base.AddObject("Accounts", accounts);
 }
Example #2
0
 /// <summary>
 /// Create a new Accounts object.
 /// </summary>
 /// <param name="accountID">Initial value of the AccountID property.</param>
 /// <param name="accountStartDate">Initial value of the AccountStartDate property.</param>
 /// <param name="accountRenewalDate">Initial value of the AccountRenewalDate property.</param>
 /// <param name="accountIntroductionsLimit">Initial value of the AccountIntroductionsLimit property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Accounts CreateAccounts(global::System.Int32 accountID, global::System.DateTime accountStartDate, global::System.DateTime accountRenewalDate, global::System.Int32 accountIntroductionsLimit, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Accounts accounts = new Accounts();
     accounts.AccountID = accountID;
     accounts.AccountStartDate = accountStartDate;
     accounts.AccountRenewalDate = accountRenewalDate;
     accounts.AccountIntroductionsLimit = accountIntroductionsLimit;
     accounts.AddDate = addDate;
     accounts.RowVersion = rowVersion;
     return accounts;
 }