public static List <Sys_PU_Config> GetValidateConfig(string className) { ADOSys_PU_Config configInstance = new ADOSys_PU_Config(); string where = string.Format(" AND DCP_Model='{0}' Order by DCP_Order ASC", className); return(configInstance.GetListByWhere(where)); }
public static List <Sys_PU_Config> GetHiddenPUDisplayConfig(string moduleName, string className) { ADOSys_PU_Config configInstance = new ADOSys_PU_Config(); string where = string.Format(" AND DCP_ModuleName='{0}' AND DCP_Model='{1}' AND DCP_IsHidden=1 Order by DCP_Order ASC", moduleName, className); return(configInstance.GetListByWhere(where)); }