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); }
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); }
public static extern int JetGetColumnInfo(IntPtr sesid, uint dbid, string szTableName, ref uint pcolumnid, ref NATIVE_COLUMNBASE columnbase, uint cbMax, uint InfoLevel);
public static extern int JetGetTableColumnInfo(IntPtr sesid, IntPtr tableid, string szColumnName, ref NATIVE_COLUMNBASE columnbase, uint cbMax, uint InfoLevel);