Beispiel #1
0
        public CashierHistory GetCashierTransactionsData(DateTime startDate, DateTime endDate, int UserNo, int iRoute_No)
        {
            LinqDataAccessDataContext objLinq = new LinqDataAccessDataContext(CommonDataAccess.TicketingConnectionString);
            CashierHistory            cdo     = new CashierHistory();
            var Result = objLinq.GetCashierTransactionsSummary_New(startDate, endDate, UserNo, iRoute_No);

            //cdo.Details = Result.GetResult<rsp_CDM_GetCashierTransactionsDetails_Details>().ToList();
            cdo.Summary = Result.ToList();
            return(cdo);
        }
 public CashierHistory GetCashierTransactionsData(DateTime startDate, DateTime endDate, int UserNo, int iRoute_No)
 {
     LinqDataAccessDataContext objLinq = new LinqDataAccessDataContext(CommonDataAccess.TicketingConnectionString);
     CashierHistory cdo = new CashierHistory();
     var Result = objLinq.GetCashierTransactionsSummary_New(startDate, endDate, UserNo, iRoute_No);
     //cdo.Details = Result.GetResult<rsp_CDM_GetCashierTransactionsDetails_Details>().ToList();
     cdo.Summary = Result.ToList();
     return cdo;
 }