2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <copyright file="OleDbConnection.cs" company="Microsoft">
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// </copyright>
|
2017-08-21 15:34:15 +00:00
|
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace System.Data.OleDb
|
|
|
|
{
|
|
|
|
using System.Data.ProviderBase;
|
|
|
|
|
|
|
|
internal sealed class OleDbConnectionPoolGroupProviderInfo : DbConnectionPoolGroupProviderInfo {
|
|
|
|
private bool _hasQuoteFix;
|
|
|
|
private string _quotePrefix, _quoteSuffix;
|
|
|
|
|
|
|
|
internal OleDbConnectionPoolGroupProviderInfo() {
|
|
|
|
}
|
|
|
|
|
|
|
|
internal bool HasQuoteFix {
|
|
|
|
get { return _hasQuoteFix; }
|
|
|
|
}
|
|
|
|
internal string QuotePrefix {
|
|
|
|
get { return _quotePrefix; }
|
|
|
|
}
|
|
|
|
internal string QuoteSuffix {
|
|
|
|
get { return _quoteSuffix; }
|
|
|
|
}
|
|
|
|
|
|
|
|
internal void SetQuoteFix(string prefix, string suffix) {
|
|
|
|
_quotePrefix = prefix;
|
|
|
|
_quoteSuffix = suffix;
|
|
|
|
_hasQuoteFix = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|