/// <summary> /// Create a new RetTran object. /// </summary> /// <param name="returnTransactionId">Initial value of ReturnTransactionId.</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 RetTran CreateRetTran(string returnTransactionId, string transactionId, string posTransactionId, string storeId, string registerId, string cashierId) { RetTran retTran = new RetTran(); retTran.ReturnTransactionId = returnTransactionId; retTran.TransactionId = transactionId; retTran.PosTransactionId = posTransactionId; retTran.StoreId = storeId; retTran.RegisterId = registerId; retTran.CashierId = cashierId; return retTran; }
/// <summary> /// Deprecated Method for adding a new object to the RetTrans EntitySet. /// </summary> public void AddToRetTrans(RetTran retTran) { base.AddObject("RetTrans", retTran); }