Пример #1
0
        public PlacesTableCollection FetchByQuery(Query qry)
        {
            PlacesTableCollection coll = new PlacesTableCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PlacesTableCollection FetchAll()
        {
            PlacesTableCollection coll = new PlacesTableCollection();
            Query qry = new Query(PlacesTable.Schema);

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

            return(coll);
        }