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