public DDevicePortCollection FetchAll() { DDevicePortCollection coll = new DDevicePortCollection(); Query qry = new Query(DDevicePort.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDevicePortCollection FetchByQuery(Query qry) { DDevicePortCollection coll = new DDevicePortCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDevicePortCollection FetchByID(object PortId) { DDevicePortCollection coll = new DDevicePortCollection().Where("Port_ID", PortId).Load(); return coll; }