public AprFactorRiesgoPsicosocialCollection FetchByQuery(Query qry) { AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprFactorRiesgoPsicosocialCollection FetchAll() { AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection(); Query qry = new Query(AprFactorRiesgoPsicosocial.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprFactorRiesgoPsicosocialCollection FetchByID(object IdFactorRiesgoPsicosocial) { AprFactorRiesgoPsicosocialCollection coll = new AprFactorRiesgoPsicosocialCollection().Where("idFactorRiesgoPsicosocial", IdFactorRiesgoPsicosocial).Load(); return(coll); }