示例#1
0
 public List <sp_MAS_ComboCustomer_Result> GetComboCustomer(bool IncludeDel)
 {
     try
     {
         using (OIS_MASEntities ct = new OIS_MASEntities())
         {
             var result = ct.sp_MAS_ComboCustomer(IncludeDel).ToList();
             return(result);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 public List <sp_MAS_ComboLanguage_Result> GetComboLanguage()
 {
     try
     {
         using (OIS_MASEntities ct = new OIS_MASEntities())
         {
             var result = ct.sp_MAS_ComboLanguage().ToList();
             return(result);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#3
0
 public List <sp_MAS_ComboSubDivision_Result> GetComboSubDivision(int DivisionId, bool IncludeDel)
 {
     try
     {
         using (OIS_MASEntities ct = new OIS_MASEntities())
         {
             var result = ct.sp_MAS_ComboSubDivision(DivisionId, IncludeDel).ToList();
             return(result);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#4
0
 public BindingList <sp_MAS_ComboReportCode_Result> GetComboReportCode(string Group)
 {
     try
     {
         using (OIS_MASEntities ct = new OIS_MASEntities())
         {
             var result = ct.sp_MAS_ComboReportCode(Group).ToList();
             return(new BindingList <sp_MAS_ComboReportCode_Result>(result));
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }