Пример #1
0
        public AprFactorRiesgoPsicosocialCollection FetchByQuery(Query qry)
        {
            AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public AprFactorRiesgoPsicosocialCollection FetchAll()
        {
            AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection();
            Query qry = new Query(AprFactorRiesgoPsicosocial.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }