Пример #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);
 }
Пример #2
0
 /// <summary>
 /// Create a new Accounts object.
 /// </summary>
 /// <param name="accountID_pk">Initial value of the accountID_pk property.</param>
 /// <param name="accountNumber">Initial value of the accountNumber property.</param>
 /// <param name="bankID_fk">Initial value of the bankID_fk property.</param>
 /// <param name="typeID_fk">Initial value of the typeID_fk property.</param>
 /// <param name="entityID_fk">Initial value of the entityID_fk property.</param>
 /// <param name="currencyID_fk">Initial value of the currencyID_fk property.</param>
 /// <param name="divisionsID_fk">Initial value of the divisionsID_fk property.</param>
 /// <param name="active">Initial value of the active property.</param>
 public static Accounts CreateAccounts(global::System.Int32 accountID_pk, global::System.String accountNumber, global::System.Int32 bankID_fk, global::System.Int32 typeID_fk, global::System.Int32 entityID_fk, global::System.Int32 currencyID_fk, global::System.Int32 divisionsID_fk, global::System.Boolean active)
 {
     Accounts accounts = new Accounts();
     accounts.accountID_pk = accountID_pk;
     accounts.accountNumber = accountNumber;
     accounts.bankID_fk = bankID_fk;
     accounts.typeID_fk = typeID_fk;
     accounts.entityID_fk = entityID_fk;
     accounts.currencyID_fk = currencyID_fk;
     accounts.divisionsID_fk = divisionsID_fk;
     accounts.active = active;
     return accounts;
 }