public int GetFDIGetMaterialInfoCount(string sWhere) { Expression <Func <FDIGetMaterialInfo, bool> > whereLamda = SerializerHelper.ConvertParamWhereToLinq <FDIGetMaterialInfo>(sWhere); using (IFDIGetMaterialInfoBLL FDIGetMaterialInfoBLL = BLLContainer.Resolve <IFDIGetMaterialInfoBLL>()) { return(FDIGetMaterialInfoBLL.GetCount(whereLamda)); } }