示例#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);
        }