public SysArticleCollection FetchAll() { SysArticleCollection coll = new SysArticleCollection(); Query qry = new Query(SysArticle.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysArticleCollection FetchByQuery(Query qry) { SysArticleCollection coll = new SysArticleCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysArticleCollection FetchByID(object Id) { SysArticleCollection coll = new SysArticleCollection().Where("ID", Id).Load(); return coll; }