| File: AdapterSwitches.cs | Web Access |
| Project: src\runtime\src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj (System.Data.OleDb) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #if DEBUG using System.Diagnostics; namespace System.Data.Common { internal static class AdapterSwitches { private static TraceSwitch? _dataSchema; internal static TraceSwitch DataSchema { get { TraceSwitch? dataSchema = _dataSchema; if (null == dataSchema) { _dataSchema = dataSchema = new TraceSwitch("Data.Schema", "Enable tracing for schema actions."); } return dataSchema; } } } } #endif