コード例 #1
0
 public List <ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxServiceProvider             objService  = new AspxServiceProvider();
         List <ServiceCoreAvailableDate> lstServDate = objService.GetServiceDates(getServiceDateObj, aspxCommonObj);
         return(lstServDate);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #2
0
 public List <ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         parameter.Add(new KeyValuePair <string, object>("ServiceID", getServiceDateObj.ServiceID));
         parameter.Add(new KeyValuePair <string, object>("BranchID", getServiceDateObj.BranchID));
         parameter.Add(new KeyValuePair <string, object>("EmployeeID", getServiceDateObj.EmployeeID));
         OracleHandler sqlh = new OracleHandler();
         List <ServiceCoreAvailableDate> lstServDate = sqlh.ExecuteAsList <ServiceCoreAvailableDate>("usp_Aspx_GetServiceDates", parameter);
         return(lstServDate);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #3
0
 public List<ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxServiceProvider objService = new AspxServiceProvider();
         List<ServiceCoreAvailableDate> lstServDate = objService.GetServiceDates(getServiceDateObj, aspxCommonObj);
         return lstServDate;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #4
0
 public List<ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         parameter.Add(new KeyValuePair<string, object>("@ServiceID", getServiceDateObj.ServiceID));
         parameter.Add(new KeyValuePair<string, object>("@BranchID", getServiceDateObj.BranchID));
         parameter.Add(new KeyValuePair<string, object>("@EmployeeID", getServiceDateObj.EmployeeID));
         SQLHandler sqlh = new SQLHandler();
         List<ServiceCoreAvailableDate> lstServDate = sqlh.ExecuteAsList<ServiceCoreAvailableDate>("[dbo].[usp_Aspx_GetServiceDates]", parameter);
         return lstServDate;
     }
     catch (Exception e)
     {
         throw e;
     }
 }