public DDeviceTypeListCollection FetchAll()
 {
     DDeviceTypeListCollection coll = new DDeviceTypeListCollection();
     Query qry = new Query(DDeviceTypeList.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
 public DDeviceTypeListCollection FetchByQuery(Query qry)
 {
     DDeviceTypeListCollection coll = new DDeviceTypeListCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
 public DDeviceTypeListCollection FetchByID(object DeviceTypeId)
 {
     DDeviceTypeListCollection coll = new DDeviceTypeListCollection().Where("DeviceType_ID", DeviceTypeId).Load();
     return coll;
 }