public DeontCollection FetchByQuery(Query qry) { DeontCollection coll = new DeontCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DeontCollection FetchAll() { DeontCollection coll = new DeontCollection(); Query qry = new Query(Deont.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DeontCollection FetchByID(object OrderNumber) { DeontCollection coll = new DeontCollection().Where("OrderNumber", OrderNumber).Load(); return(coll); }