/// <summary>
 /// Create a new SaleTran object.
 /// </summary>
 /// <param name="saleTransactionId">Initial value of SaleTransactionId.</param>
 /// <param name="transactionId">Initial value of TransactionId.</param>
 /// <param name="posTransactionId">Initial value of PosTransactionId.</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 SaleTran CreateSaleTran(string saleTransactionId, string transactionId, string posTransactionId, string storeId, string registerId, string cashierId)
 {
     SaleTran saleTran = new SaleTran();
     saleTran.SaleTransactionId = saleTransactionId;
     saleTran.TransactionId = transactionId;
     saleTran.PosTransactionId = posTransactionId;
     saleTran.StoreId = storeId;
     saleTran.RegisterId = registerId;
     saleTran.CashierId = cashierId;
     return saleTran;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SaleTrans EntitySet.
 /// </summary>
 public void AddToSaleTrans(SaleTran saleTran)
 {
     base.AddObject("SaleTrans", saleTran);
 }