public void Setup()
        {
            this.native = new NATIVE_COLUMNBASE
            {
                cbMax            = 1,
                coltyp           = unchecked ((uint)JET_coltyp.Text),
                columnid         = 2,
                cp               = unchecked ((ushort)JET_CP.Unicode),
                grbit            = unchecked ((uint)ColumndefGrbit.ColumnNotNULL),
                szBaseColumnName = "basecolumn",
                szBaseTableName  = "basetable",
            };

            this.nativeWide = new NATIVE_COLUMNBASE_WIDE
            {
                cbMax            = 1,
                coltyp           = unchecked ((uint)JET_coltyp.Text),
                columnid         = 2,
                cp               = unchecked ((ushort)JET_CP.Unicode),
                grbit            = unchecked ((uint)ColumndefGrbit.ColumnNotNULL),
                szBaseColumnName = "basecolumn",
                szBaseTableName  = "basetable",
            };

            this.managed     = new JET_COLUMNBASE(this.native);
            this.managedWide = new JET_COLUMNBASE(this.native);
        }
Ejemplo n.º 2
0
        public void Setup()
        {
            this.native = new NATIVE_COLUMNBASE
            {
                cbMax = 1,
                coltyp = unchecked((uint)JET_coltyp.Text),
                columnid = 2,
                cp = unchecked((ushort)JET_CP.Unicode),
                grbit = unchecked((uint)ColumndefGrbit.ColumnNotNULL),
                szBaseColumnName = "basecolumn",
                szBaseTableName = "basetable",
            };

            this.managed = new JET_COLUMNBASE(this.native);
        }
Ejemplo n.º 3
0
 public static extern int JetGetColumnInfo(IntPtr sesid, uint dbid, string szTableName, ref uint pcolumnid, ref NATIVE_COLUMNBASE columnbase, uint cbMax, uint InfoLevel);
Ejemplo n.º 4
0
 public static extern int JetGetTableColumnInfo(IntPtr sesid, IntPtr tableid, string szColumnName, ref NATIVE_COLUMNBASE columnbase, uint cbMax, uint InfoLevel);
Ejemplo n.º 5
0
 public static extern int JetGetColumnInfo(IntPtr sesid, uint dbid, string szTableName, ref uint pcolumnid, ref NATIVE_COLUMNBASE columnbase, uint cbMax, uint InfoLevel);