public PortTableCollection FetchByQuery(Query qry) { PortTableCollection coll = new PortTableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PortTableCollection FetchAll() { PortTableCollection coll = new PortTableCollection(); Query qry = new Query(PortTable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PortTableCollection FetchByID(object PortID) { PortTableCollection coll = new PortTableCollection().Where("PortID", PortID).Load(); return(coll); }