예제 #1
0
        public void JetRecordlistToString()
        {
            var value = new JET_RECORDLIST {
                cRecords = 3, tableid = new JET_TABLEID {
                    Value = (IntPtr)0x1a
                }
            };

            Assert.AreEqual("JET_RECORDLIST(0x1a,3 records)", value.ToString());
        }
예제 #2
0
        public void Setup()
        {
            this.native = new NATIVE_RECORDLIST
            {
                tableid          = (IntPtr)0x1000,
                cRecords         = 100,
                columnidBookmark = 1,
            };

            this.converted = new JET_RECORDLIST();
            this.converted.SetFromNativeRecordlist(this.native);
        }