public DeliveryNoteTableCollection FetchByQuery(Query qry) { DeliveryNoteTableCollection coll = new DeliveryNoteTableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DeliveryNoteTableCollection FetchAll() { DeliveryNoteTableCollection coll = new DeliveryNoteTableCollection(); Query qry = new Query(DeliveryNoteTable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }