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

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

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

            return(coll);
        }