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