コード例 #1
0
 /// <summary>
 /// Create a new PosTran object.
 /// </summary>
 /// <param name="posTransactionId">Initial value of PosTransactionId.</param>
 /// <param name="transactionId">Initial value of TransactionId.</param>
 /// <param name="storeId">Initial value of StoreId.</param>
 /// <param name="registerId">Initial value of RegisterId.</param>
 /// <param name="cashierId">Initial value of CashierId.</param>
 public static PosTran CreatePosTran(string posTransactionId, string transactionId, string storeId, string registerId, string cashierId)
 {
     PosTran posTran = new PosTran();
     posTran.PosTransactionId = posTransactionId;
     posTran.TransactionId = transactionId;
     posTran.StoreId = storeId;
     posTran.RegisterId = registerId;
     posTran.CashierId = cashierId;
     return posTran;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PosTrans EntitySet.
 /// </summary>
 public void AddToPosTrans(PosTran posTran)
 {
     base.AddObject("PosTrans", posTran);
 }