Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Data / System / Data / Odbc / OdbcConnectionPoolProviderInfo.cs / 2 / OdbcConnectionPoolProviderInfo.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
// [....]
//-----------------------------------------------------------------------------
namespace System.Data.Odbc
{
using System;
using System.Data;
using System.Data.ProviderBase;
sealed internal class OdbcConnectionPoolGroupProviderInfo : DbConnectionPoolGroupProviderInfo {
private string _driverName;
private string _driverVersion;
private string _quoteChar;
private char _escapeChar;
private bool _hasQuoteChar;
private bool _hasEscapeChar;
private bool _isV3Driver;
private int _supportedSQLTypes;
private int _testedSQLTypes;
private int _restrictedSQLBindTypes; // These, otherwise supported types, are not available for binding
// flags for unsupported Attributes
private bool _noCurrentCatalog;
private bool _noConnectionDead;
private bool _noQueryTimeout;
private bool _noSqlSoptSSNoBrowseTable;
private bool _noSqlSoptSSHiddenColumns;
// SSS_WARNINGS_OFF
private bool _noSqlCASSColumnKey;
// SSS_WARNINGS_ON
// flags for unsupported Functions
private bool _noSqlPrimaryKeys;
internal string DriverName {
get {
return _driverName;
}
set {
_driverName = value;
}
}
internal string DriverVersion {
get {
return _driverVersion;
}
set {
_driverVersion = value;
}
}
internal bool HasQuoteChar {
// the value is set together with the QuoteChar (see set_QuoteChar);
get {
return _hasQuoteChar;
}
}
internal bool HasEscapeChar {
// the value is set together with the EscapeChar (see set_EscapeChar);
get {
return _hasEscapeChar;
}
}
internal string QuoteChar {
get {
return _quoteChar;
}
set {
_quoteChar = value;
_hasQuoteChar = true;
}
}
internal char EscapeChar {
get {
return _escapeChar;
}
set {
_escapeChar = value;
_hasEscapeChar = true;
}
}
internal bool IsV3Driver {
get {
return _isV3Driver;
}
set {
_isV3Driver = value;
}
}
internal int SupportedSQLTypes {
get {
return _supportedSQLTypes;
}
set {
_supportedSQLTypes = value;
}
}
internal int TestedSQLTypes {
get {
return _testedSQLTypes;
}
set {
_testedSQLTypes = value;
}
}
internal int RestrictedSQLBindTypes {
get {
return _restrictedSQLBindTypes;
}
set {
_restrictedSQLBindTypes = value;
}
}
internal bool NoCurrentCatalog {
get {
return _noCurrentCatalog;
}
set {
_noCurrentCatalog = value;
}
}
internal bool NoConnectionDead {
get {
return _noConnectionDead;
}
set {
_noConnectionDead = value;
}
}
internal bool NoQueryTimeout {
get {
return _noQueryTimeout;
}
set {
_noQueryTimeout = value;
}
}
internal bool NoSqlSoptSSNoBrowseTable {
get {
return _noSqlSoptSSNoBrowseTable;
}
set {
_noSqlSoptSSNoBrowseTable = value;
}
}
internal bool NoSqlSoptSSHiddenColumns {
get {
return _noSqlSoptSSHiddenColumns;
}
set {
_noSqlSoptSSHiddenColumns = value;
}
}
// SSS_WARNINGS_OFF
internal bool NoSqlCASSColumnKey {
get {
return _noSqlCASSColumnKey;
}
set {
_noSqlCASSColumnKey = value;
}
}
// SSS_WARNINGS_ON
internal bool NoSqlPrimaryKeys {
get {
return _noSqlPrimaryKeys;
}
set {
_noSqlPrimaryKeys = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
// [....]
//-----------------------------------------------------------------------------
namespace System.Data.Odbc
{
using System;
using System.Data;
using System.Data.ProviderBase;
sealed internal class OdbcConnectionPoolGroupProviderInfo : DbConnectionPoolGroupProviderInfo {
private string _driverName;
private string _driverVersion;
private string _quoteChar;
private char _escapeChar;
private bool _hasQuoteChar;
private bool _hasEscapeChar;
private bool _isV3Driver;
private int _supportedSQLTypes;
private int _testedSQLTypes;
private int _restrictedSQLBindTypes; // These, otherwise supported types, are not available for binding
// flags for unsupported Attributes
private bool _noCurrentCatalog;
private bool _noConnectionDead;
private bool _noQueryTimeout;
private bool _noSqlSoptSSNoBrowseTable;
private bool _noSqlSoptSSHiddenColumns;
// SSS_WARNINGS_OFF
private bool _noSqlCASSColumnKey;
// SSS_WARNINGS_ON
// flags for unsupported Functions
private bool _noSqlPrimaryKeys;
internal string DriverName {
get {
return _driverName;
}
set {
_driverName = value;
}
}
internal string DriverVersion {
get {
return _driverVersion;
}
set {
_driverVersion = value;
}
}
internal bool HasQuoteChar {
// the value is set together with the QuoteChar (see set_QuoteChar);
get {
return _hasQuoteChar;
}
}
internal bool HasEscapeChar {
// the value is set together with the EscapeChar (see set_EscapeChar);
get {
return _hasEscapeChar;
}
}
internal string QuoteChar {
get {
return _quoteChar;
}
set {
_quoteChar = value;
_hasQuoteChar = true;
}
}
internal char EscapeChar {
get {
return _escapeChar;
}
set {
_escapeChar = value;
_hasEscapeChar = true;
}
}
internal bool IsV3Driver {
get {
return _isV3Driver;
}
set {
_isV3Driver = value;
}
}
internal int SupportedSQLTypes {
get {
return _supportedSQLTypes;
}
set {
_supportedSQLTypes = value;
}
}
internal int TestedSQLTypes {
get {
return _testedSQLTypes;
}
set {
_testedSQLTypes = value;
}
}
internal int RestrictedSQLBindTypes {
get {
return _restrictedSQLBindTypes;
}
set {
_restrictedSQLBindTypes = value;
}
}
internal bool NoCurrentCatalog {
get {
return _noCurrentCatalog;
}
set {
_noCurrentCatalog = value;
}
}
internal bool NoConnectionDead {
get {
return _noConnectionDead;
}
set {
_noConnectionDead = value;
}
}
internal bool NoQueryTimeout {
get {
return _noQueryTimeout;
}
set {
_noQueryTimeout = value;
}
}
internal bool NoSqlSoptSSNoBrowseTable {
get {
return _noSqlSoptSSNoBrowseTable;
}
set {
_noSqlSoptSSNoBrowseTable = value;
}
}
internal bool NoSqlSoptSSHiddenColumns {
get {
return _noSqlSoptSSHiddenColumns;
}
set {
_noSqlSoptSSHiddenColumns = value;
}
}
// SSS_WARNINGS_OFF
internal bool NoSqlCASSColumnKey {
get {
return _noSqlCASSColumnKey;
}
set {
_noSqlCASSColumnKey = value;
}
}
// SSS_WARNINGS_ON
internal bool NoSqlPrimaryKeys {
get {
return _noSqlPrimaryKeys;
}
set {
_noSqlPrimaryKeys = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XsltArgumentList.cs
- AlphabeticalEnumConverter.cs
- FileSystemEventArgs.cs
- RequestedSignatureDialog.cs
- _SslStream.cs
- ApplicationInfo.cs
- ADRoleFactory.cs
- CheckBox.cs
- XmlCharType.cs
- MetadataItemCollectionFactory.cs
- XmlSchemaNotation.cs
- BitmapPalettes.cs
- MultilineStringConverter.cs
- HttpModuleCollection.cs
- HtmlEmptyTagControlBuilder.cs
- WeakReference.cs
- XmlCharCheckingReader.cs
- _Win32.cs
- XPathEmptyIterator.cs
- ConfigXmlElement.cs
- TextParagraphCache.cs
- EntityConnection.cs
- ExtentKey.cs
- IERequestCache.cs
- Schema.cs
- FlowDocumentFormatter.cs
- ObjectDataSource.cs
- BooleanToVisibilityConverter.cs
- TabItemWrapperAutomationPeer.cs
- DiagnosticTraceSource.cs
- TimeSpanValidatorAttribute.cs
- XPathAncestorIterator.cs
- CookielessHelper.cs
- HierarchicalDataBoundControlAdapter.cs
- ModuleBuilder.cs
- NoneExcludedImageIndexConverter.cs
- AssemblyCollection.cs
- ErrorsHelper.cs
- DrawingContextWalker.cs
- DocumentViewerBase.cs
- UnauthorizedAccessException.cs
- CommonEndpointBehaviorElement.cs
- ContentType.cs
- ResponseBodyWriter.cs
- SplayTreeNode.cs
- FontSource.cs
- InputProcessorProfilesLoader.cs
- RoutedEventArgs.cs
- TypeDescriptionProviderAttribute.cs
- AutoResetEvent.cs
- IsolationInterop.cs
- ClientSettingsProvider.cs
- ToolStripSettings.cs
- BehaviorEditorPart.cs
- IteratorFilter.cs
- EntityDataSourceDataSelectionPanel.cs
- HtmlLink.cs
- HttpResponseWrapper.cs
- ImageAnimator.cs
- SafeNativeMethods.cs
- Transform.cs
- ToolStripDropDownMenu.cs
- DefaultDialogButtons.cs
- SafeViewOfFileHandle.cs
- PropertyTabChangedEvent.cs
- PassportAuthenticationModule.cs
- MSG.cs
- XmlTextWriter.cs
- ColumnPropertiesGroup.cs
- MobileUserControlDesigner.cs
- PeerDefaultCustomResolverClient.cs
- TextCollapsingProperties.cs
- PrinterResolution.cs
- RegistrySecurity.cs
- BrowserCapabilitiesFactory.cs
- AvTraceDetails.cs
- Ipv6Element.cs
- DataBinding.cs
- _NetworkingPerfCounters.cs
- ZeroOpNode.cs
- SortableBindingList.cs
- DbConnectionPoolCounters.cs
- HttpHandlersSection.cs
- UICuesEvent.cs
- RuntimeCompatibilityAttribute.cs
- RSAPKCS1KeyExchangeFormatter.cs
- iisPickupDirectory.cs
- figurelength.cs
- InplaceBitmapMetadataWriter.cs
- WindowsAuthenticationModule.cs
- GcHandle.cs
- DigitalSignatureProvider.cs
- FillRuleValidation.cs
- HebrewNumber.cs
- UpDownEvent.cs
- WebPartCatalogAddVerb.cs
- VisualStyleInformation.cs
- SerializationSectionGroup.cs
- SelectionEditingBehavior.cs
- ClientTargetCollection.cs