Exemplo n.º 1
0
 public DeviceTypeEnumCollection FetchAll()
 {
     var coll = new DeviceTypeEnumCollection();
     var qry = new Query(DeviceTypeEnum.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 2
0
 public DeviceTypeEnumCollection FetchByQuery(Query qry)
 {
     var coll = new DeviceTypeEnumCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }