예제 #1
0
        public SysMunicipioCollection FetchByQuery(Query qry)
        {
            SysMunicipioCollection coll = new SysMunicipioCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public SysMunicipioCollection FetchAll()
        {
            SysMunicipioCollection coll = new SysMunicipioCollection();
            Query qry = new Query(SysMunicipio.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public SysMunicipioCollection FetchByID(object IdMunicipio)
        {
            SysMunicipioCollection coll = new SysMunicipioCollection().Where("idMunicipio", IdMunicipio).Load();

            return(coll);
        }