コード例 #1
0
        public VoyageTableCollection FetchByQuery(Query qry)
        {
            VoyageTableCollection coll = new VoyageTableCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public VoyageTableCollection FetchAll()
        {
            VoyageTableCollection coll = new VoyageTableCollection();
            Query qry = new Query(VoyageTable.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public VoyageTableCollection FetchByID(object VoyageID)
        {
            VoyageTableCollection coll = new VoyageTableCollection().Where("VoyageID", VoyageID).Load();

            return(coll);
        }