public DDeviceDataControlCollection FetchByQuery(Query qry) { DDeviceDataControlCollection coll = new DDeviceDataControlCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDeviceDataControlCollection FetchAll() { DDeviceDataControlCollection coll = new DDeviceDataControlCollection(); Query qry = new Query(DDeviceDataControl.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDeviceDataControlCollection FetchByID(object Id) { DDeviceDataControlCollection coll = new DDeviceDataControlCollection().Where("ID", Id).Load(); return(coll); }