public DDeviceListCollection FetchAll() { DDeviceListCollection coll = new DDeviceListCollection(); Query qry = new Query(DDeviceList.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDeviceListCollection FetchByQuery(Query qry) { DDeviceListCollection coll = new DDeviceListCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDeviceListCollection FetchByID(object DeviceId) { DDeviceListCollection coll = new DDeviceListCollection().Where("Device_ID", DeviceId).Load(); return coll; }