public VgiItemCollection FetchByQuery(Query qry) { VgiItemCollection coll = new VgiItemCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiItemCollection FetchAll() { VgiItemCollection coll = new VgiItemCollection(); Query qry = new Query(VgiItem.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiItemCollection FetchByID(object IdItems) { VgiItemCollection coll = new VgiItemCollection().Where("idItems", IdItems).Load(); return(coll); }