/// <summary> /// Returns the unmanaged opentemporarytable that represents this managed class. /// </summary> /// <returns> /// A native (interop) version of the JET_OPENTEMPORARYTABLE. /// </returns> internal NATIVE_OPENTEMPORARYTABLE2 GetNativeOpenTemporaryTable2() { this.CheckDataSize(); var openTemporaryTable = new NATIVE_OPENTEMPORARYTABLE2(); openTemporaryTable.cbStruct = checked ((uint)Marshal.SizeOf(typeof(NATIVE_OPENTEMPORARYTABLE2))); openTemporaryTable.ccolumn = checked ((uint)this.ccolumn); openTemporaryTable.grbit = (uint)this.grbit; openTemporaryTable.cbKeyMost = checked ((uint)this.cbKeyMost); openTemporaryTable.cbVarSegMac = checked ((uint)this.cbVarSegMac); return(openTemporaryTable); }
/// <summary> /// Returns the unmanaged opentemporarytable that represents this managed class. /// </summary> /// <returns> /// A native (interop) version of the JET_OPENTEMPORARYTABLE. /// </returns> internal NATIVE_OPENTEMPORARYTABLE2 GetNativeOpenTemporaryTable2() { this.CheckDataSize(); var openTemporaryTable = new NATIVE_OPENTEMPORARYTABLE2(); openTemporaryTable.cbStruct = checked((uint)Marshal.SizeOf(typeof(NATIVE_OPENTEMPORARYTABLE2))); openTemporaryTable.ccolumn = checked((uint)this.ccolumn); openTemporaryTable.grbit = (uint)this.grbit; openTemporaryTable.cbKeyMost = checked((uint)this.cbKeyMost); openTemporaryTable.cbVarSegMac = checked((uint)this.cbVarSegMac); return openTemporaryTable; }