Ejemplo n.º 1
0
        public PricerCountryNameCollection FetchByQuery(Query qry)
        {
            PricerCountryNameCollection coll = new PricerCountryNameCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public PricerCountryNameCollection FetchAll()
        {
            PricerCountryNameCollection coll = new PricerCountryNameCollection();
            Query qry = new Query(PricerCountryName.Schema);

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

            return(coll);
        }