Пример #1
0
 public DDeviceListCollection FetchAll()
 {
     DDeviceListCollection coll = new DDeviceListCollection();
     Query qry = new Query(DDeviceList.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #2
0
 public DDeviceListCollection FetchByQuery(Query qry)
 {
     DDeviceListCollection coll = new DDeviceListCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #3
0
 public DDeviceListCollection FetchByID(object DeviceId)
 {
     DDeviceListCollection coll = new DDeviceListCollection().Where("Device_ID", DeviceId).Load();
     return coll;
 }