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