예제 #1
0
        public static List <DisplayPage_Config> GetDisplayConfig(string moduleName, string className)
        {
            ADODisplayPage_Config configInstance = new ADODisplayPage_Config();

            string where = string.Format(" AND DCP_ModuleName='{0}' AND DCP_Model='{1}' Order by DCP_Order ASC", moduleName, className);

            return(configInstance.GetListByWhere(where));
        }
예제 #2
0
 /// <summary>
 /// 根据条件获取List
 /// </summary>
 /// <param name='strCondition'>条件(' AND Code='11'')</param>
 /// <returns>list</returns>
 public List <DisplayPage_Config> GetListByCode(string strCondition)
 {
     return(instance.GetListByWhere(strCondition));
 }