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

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

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

            return(coll);
        }