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