public TamRegistroCollection FetchByQuery(Query qry) { TamRegistroCollection coll = new TamRegistroCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamRegistroCollection FetchAll() { TamRegistroCollection coll = new TamRegistroCollection(); Query qry = new Query(TamRegistro.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }