예제 #1
0
 public static ItemCommonInfo GetItemInfoFromSKU(string SKU, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         ItemCommonInfo lstItem = AspxCommonProvider.GetItemInfoFromSKU(SKU, aspxCommonObj);
         return(lstItem);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #2
0
 public static ItemCommonInfo GetItemInfoFromSKU(string SKU, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSP(aspxCommonObj);
         parameter.Add(new KeyValuePair <string, object>("@SKU", SKU));
         SQLHandler     sqlH    = new SQLHandler();
         ItemCommonInfo lstItem = sqlH.ExecuteAsObject <ItemCommonInfo>("usp_Aspx_GetItemInfoFromSKU", parameter);
         return(lstItem);
     }
     catch (Exception e)
     {
         throw e;
     }
 }