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