コード例 #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);
        }