Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

31 lines
954 B
C#

//------------------------------------------------------------------------------
// <copyright file="AdapterSwitches.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="false">[....]</owner>
//------------------------------------------------------------------------------
#if DEBUG
using System.Diagnostics;
namespace System.Data.Common {
internal static class AdapterSwitches {
static private TraceSwitch _dataSchema;
static internal TraceSwitch DataSchema {
get {
TraceSwitch dataSchema = _dataSchema;
if (null == dataSchema) {
_dataSchema = dataSchema = new TraceSwitch("Data.Schema", "Enable tracing for schema actions.");
}
return dataSchema;
}
}
}
}
#endif