예제 #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);
        }
예제 #3
0
        public AprFactorRiesgoPsicosocialCollection FetchByID(object IdFactorRiesgoPsicosocial)
        {
            AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection().Where("idFactorRiesgoPsicosocial", IdFactorRiesgoPsicosocial).Load();

            return(coll);
        }