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