예제 #1
0
        public List <ItemListColumn> QueryConfig(string name)
        {
            XDocument          document          = XDocument.Load(HttpContext.Current.Server.MapPath(SysConfig.ItemListColumnConfigWebPath));
            XDocumentOperation documentOperation = new XDocumentOperation();

            return(documentOperation.ConvertFromElementsToEntities <ItemListColumn>(document.Root.Element(name).Elements()));
        }
예제 #2
0
 public List<ItemListColumn> QueryConfig(string name)
 {
     XDocument document = XDocument.Load(HttpContext.Current.Server.MapPath(SysConfig.ItemListColumnConfigWebPath));
     XDocumentOperation documentOperation = new XDocumentOperation();
     return documentOperation.ConvertFromElementsToEntities<ItemListColumn>(document.Root.Element(name).Elements());
 }