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

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

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

            return(coll);
        }