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