Exemple #1
0
        public PlacesTableCollection FetchByQuery(Query qry)
        {
            PlacesTableCollection coll = new PlacesTableCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public PlacesTableCollection FetchAll()
        {
            PlacesTableCollection coll = new PlacesTableCollection();
            Query qry = new Query(PlacesTable.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public PlacesTableCollection FetchByID(object PlaceID)
        {
            PlacesTableCollection coll = new PlacesTableCollection().Where("PlaceID", PlaceID).Load();

            return(coll);
        }