Esempio n. 1
0
        public AprFactorRiesgoPsicosocialCollection FetchByQuery(Query qry)
        {
            AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public AprFactorRiesgoPsicosocialCollection FetchAll()
        {
            AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection();
            Query qry = new Query(AprFactorRiesgoPsicosocial.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public AprFactorRiesgoPsicosocialCollection FetchByID(object IdFactorRiesgoPsicosocial)
        {
            AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection().Where("idFactorRiesgoPsicosocial", IdFactorRiesgoPsicosocial).Load();

            return(coll);
        }