コード例 #1
0
 /// <summary>
 /// Create a new ITransaction object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="gbpAmount">Initial value of the GbpAmount property.</param>
 /// <param name="transactionDate">Initial value of the TransactionDate property.</param>
 public static ITransaction CreateITransaction(global::System.Int32 id, global::System.Decimal gbpAmount, global::System.DateTime transactionDate)
 {
     ITransaction iTransaction = new ITransaction();
     iTransaction.Id = id;
     iTransaction.GbpAmount = gbpAmount;
     iTransaction.TransactionDate = transactionDate;
     return iTransaction;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ITransactions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToITransactions(ITransaction iTransaction)
 {
     base.AddObject("ITransactions", iTransaction);
 }