Beispiel #1
0
        public LPortCollection FetchByQuery(Query qry)
        {
            LPortCollection coll = new LPortCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public LPortCollection FetchAll()
        {
            LPortCollection coll = new LPortCollection();
            Query           qry  = new Query(LPort.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public LPortCollection FetchByID(object PortId)
        {
            LPortCollection coll = new LPortCollection().Where("Port_ID", PortId).Load();

            return(coll);
        }