예제 #1
0
 public ItemsCompareInfo GetItemDetailsForCompare(int ItemID, AspxCommonInfo aspxCommonObj, string costVariantValueIDs)
 {
     try
     {
         CompareItemProvider provider       = new CompareItemProvider();
         ItemsCompareInfo    objItemDetails = provider.GetItemDetailsForCompare(ItemID, aspxCommonObj,
                                                                                costVariantValueIDs);
         return(objItemDetails);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
 public ItemsCompareInfo GetItemDetailsForCompare(int ItemID, AspxCommonInfo aspxCommonObj, string costVariantValueIDs)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
         parameter.Add(new KeyValuePair <string, object>("@ItemID", ItemID));
         parameter.Add(new KeyValuePair <string, object>("@CostVariantValueIDs", costVariantValueIDs));
         SQLHandler       sqlH           = new SQLHandler();
         ItemsCompareInfo objItemDetails = sqlH.ExecuteAsObject <ItemsCompareInfo>("[usp_Aspx_GetItemDetailsForCompare]", parameter);
         return(objItemDetails);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }