public RisAreaTematicaCollection FetchByQuery(Query qry) { RisAreaTematicaCollection coll = new RisAreaTematicaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisAreaTematicaCollection FetchAll() { RisAreaTematicaCollection coll = new RisAreaTematicaCollection(); Query qry = new Query(RisAreaTematica.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisAreaTematicaCollection FetchByID(object IdAreaTematica) { RisAreaTematicaCollection coll = new RisAreaTematicaCollection().Where("idAreaTematica", IdAreaTematica).Load(); return(coll); }