Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Banks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBanks(Bank bank)
 {
     base.AddObject("Banks", bank);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Bank object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="bankCode">Initial value of the BankCode property.</param>
 /// <param name="bankName">Initial value of the BankName property.</param>
 /// <param name="discontinued">Initial value of the Discontinued property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Bank CreateBank(global::System.Int32 id, global::System.String bankCode, global::System.String bankName, global::System.Boolean discontinued, global::System.Byte[] rowVersion)
 {
     Bank bank = new Bank();
     bank.Id = id;
     bank.BankCode = bankCode;
     bank.BankName = bankName;
     bank.Discontinued = discontinued;
     bank.RowVersion = rowVersion;
     return bank;
 }