/// <summary>
 /// Create a new Tran object.
 /// </summary>
 /// <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>
 /// <param name="transactionType">Initial value of TransactionType.</param>
 public static Tran CreateTran(string transactionId, string storeId, string registerId, string cashierId, long transactionType)
 {
     Tran tran = new Tran();
     tran.TransactionId = transactionId;
     tran.StoreId = storeId;
     tran.RegisterId = registerId;
     tran.CashierId = cashierId;
     tran.TransactionType = transactionType;
     return tran;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Trans EntitySet.
 /// </summary>
 public void AddToTrans(Tran tran)
 {
     base.AddObject("Trans", tran);
 }