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