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