예제 #1
0
 private List <spc_GetListChargeShipmentMaster> GetSpcChargeShipment(ChargeShipmentCriteria criteria)
 {
     DbParameter[] parameters =
     {
         SqlParam.GetParameter("currencyLocal",    criteria.CurrencyLocal),
         SqlParam.GetParameter("customerID",       criteria.CustomerID),
         SqlParam.GetParameter("dateType",         criteria.DateType),
         SqlParam.GetParameter("fromDate",         criteria.FromDate),
         SqlParam.GetParameter("toDate",           criteria.ToDate),
         SqlParam.GetParameter("type",             criteria.Type),
         SqlParam.GetParameter("isOBH",            criteria.IsOBH),
         SqlParam.GetParameter("strCreators",      criteria.StrCreators),
         SqlParam.GetParameter("strCharges",       criteria.StrCharges),
         SqlParam.GetParameter("commodityGroupID", criteria.CommodityGroupID),
         SqlParam.GetParameter("strServices",      criteria.StrServices)
     };
     return(((eFMSDataContext)DataContext.DC).ExecuteProcedure <spc_GetListChargeShipmentMaster>(parameters));
 }