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