Exemplo n.º 1
0
        public LRS232Collection FetchByQuery(Query qry)
        {
            var coll = new LRS232Collection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public LRS232Collection FetchAll()
        {
            var coll = new LRS232Collection();
            var qry  = new Query(LRS232.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public LRS232Collection FetchByID(object Id)
        {
            LRS232Collection coll = new LRS232Collection().Where("ID", Id).Load();

            return(coll);
        }