Beispiel #1
0
 public System.Xml.XPath.XPathDocument HandleData(Xy.Web.Page.PageAbstract CurrentPageClass)
 {
     if (!string.IsNullOrEmpty(_parameter) || !string.IsNullOrEmpty(_defaultParameter)) {
         if (!_dataParameterCollection.Inited) {
             _dataParameterCollection.AnalyzeParameter(_parameter, _defaultParameter);
         }
         _dataParameterCollection.HandleValue(CurrentPageClass);
         if (_dataParameterCollection.HasContent) {
             foreach (string _key in _dataParameterCollection.Keys) {
                 _where = _where.Replace("@" + _key, _dataParameterCollection[_key].Value.ToString());
             }
         }
     }
     XiaoYang.Entity.EntityHelper _helper = new EntityHelper(_typeCache.TypeInstance.ID);
     EntityCollection _result = _helper.GetList(_where, _pageIndex, _pageSize, _order, ref _totalCount);
     return _result.GetXml();
 }
 public void Handle(Xy.Web.ThreadEntity CurrentThreadEntity, Xy.Web.Page.PageAbstract CurrentPageClass, Xy.Web.HTMLContainer contentContainer)
 {
     if (_typeID == 0) return;
     EntityHelper _help = new EntityHelper(_typeID);
 }