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

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

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

            return(coll);
        }