Esempio n. 1
0
        public VesselTableCollection FetchByQuery(Query qry)
        {
            VesselTableCollection coll = new VesselTableCollection();

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

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

            return(coll);
        }