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