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