示例#1
0
        public PricerCountryNameCollection FetchByQuery(Query qry)
        {
            PricerCountryNameCollection coll = new PricerCountryNameCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public PricerCountryNameCollection FetchAll()
        {
            PricerCountryNameCollection coll = new PricerCountryNameCollection();
            Query qry = new Query(PricerCountryName.Schema);

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

            return(coll);
        }