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

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

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

            return(coll);
        }