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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public RisEntidadCollection FetchAll()
        {
            RisEntidadCollection coll = new RisEntidadCollection();
            Query qry = new Query(RisEntidad.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public RisEntidadCollection FetchByID(object IdEntidad)
        {
            RisEntidadCollection coll = new RisEntidadCollection().Where("idEntidad", IdEntidad).Load();

            return(coll);
        }