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