예제 #1
0
 public DDeviceDatatypeCollection FetchAll()
 {
     DDeviceDatatypeCollection coll = new DDeviceDatatypeCollection();
     Query qry = new Query(DDeviceDatatype.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
예제 #2
0
 public DDeviceDatatypeCollection FetchByQuery(Query qry)
 {
     DDeviceDatatypeCollection coll = new DDeviceDatatypeCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
예제 #3
0
 public DDeviceDatatypeCollection FetchByID(object DataTypeId)
 {
     DDeviceDatatypeCollection coll = new DDeviceDatatypeCollection().Where("DataType_ID", DataTypeId).Load();
     return coll;
 }