private int _changeID;
private int _lastChangeID;
- private static readonly bool s_runningOnX86 = RuntimeInformation.ProcessArchitecture == Architecture.X86;
-
public OleDbCommand() : base()
{
GC.SuppressFinalize(this);
OleDbHResult hr;
- if (s_runningOnX86)
+ if (ODB.IsRunningOnX86)
{
tagDBPARAMBINDINFO_x86[] bindInfo_x86 = new tagDBPARAMBINDINFO_x86[bindInfo.Length];
for (int i = 0; i < bindInfo.Length; i++)
internal const string DbInfoKeywords = "DbInfoKeywords";
internal const string Keyword = "Keyword";
+ internal static readonly bool IsRunningOnX86 = RuntimeInformation.ProcessArchitecture == Architecture.X86;
+
// Debug error string writeline
internal static string ELookup(OleDbHResult hr)
{