예제 #1
0
        public VesselTableCollection FetchByQuery(Query qry)
        {
            VesselTableCollection coll = new VesselTableCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public VesselTableCollection FetchAll()
        {
            VesselTableCollection coll = new VesselTableCollection();
            Query qry = new Query(VesselTable.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public VesselTableCollection FetchByID(object VesselID)
        {
            VesselTableCollection coll = new VesselTableCollection().Where("VesselID", VesselID).Load();

            return(coll);
        }