public ArticlecategoryCollection FetchAllNotDeleted() { ArticlecategoryCollection coll = new ArticlecategoryCollection(); Query qry = new Query(Articlecategory.Schema).WHERE(Articlecategory.Columns.Deleted, false); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ArticlecategoryCollection FetchAll() { ArticlecategoryCollection coll = new ArticlecategoryCollection(); Query qry = new Query(Articlecategory.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ArticlecategoryCollection FetchByQuery(Query qry) { ArticlecategoryCollection coll = new ArticlecategoryCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ArticlecategoryCollection FetchByID(object Id) { ArticlecategoryCollection coll = new ArticlecategoryCollection().Where("id", Id).Load(); return coll; }