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