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