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