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

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

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

            return(coll);
        }