Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Odbc / OdbcConnectionPoolProviderInfo.cs / 1305376 / 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
- ListViewInsertionMark.cs
- ILGenerator.cs
- MailSettingsSection.cs
- UndoManager.cs
- MimeReflector.cs
- EventLogPermissionAttribute.cs
- XmlAnyElementAttribute.cs
- KeyTime.cs
- Buffer.cs
- EdmType.cs
- VisualCollection.cs
- MasterPage.cs
- SerTrace.cs
- HighContrastHelper.cs
- StylusPointPropertyUnit.cs
- SymmetricSecurityBindingElement.cs
- XmlNotation.cs
- EventDescriptor.cs
- QueryExpr.cs
- SortQueryOperator.cs
- GregorianCalendar.cs
- DrawingCollection.cs
- MimeObjectFactory.cs
- PopupRoot.cs
- EventLog.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- BinaryObjectWriter.cs
- AnnouncementEndpointElement.cs
- RuleSetDialog.Designer.cs
- HMAC.cs
- RuntimeArgumentHandle.cs
- HttpProfileGroupBase.cs
- DrawingContextWalker.cs
- RtfFormatStack.cs
- UseLicense.cs
- LogEntrySerializer.cs
- URL.cs
- InfiniteTimeSpanConverter.cs
- Rectangle.cs
- Perspective.cs
- ProtocolsConfigurationEntry.cs
- HttpClientCertificate.cs
- WinCategoryAttribute.cs
- DynamicPropertyHolder.cs
- DataGridViewRowsAddedEventArgs.cs
- COAUTHINFO.cs
- SymbolMethod.cs
- SqlWriter.cs
- SchemaImporter.cs
- BigIntegerStorage.cs
- NumberSubstitution.cs
- CodeDirectiveCollection.cs
- Vector3DAnimationUsingKeyFrames.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- DataGridHeaderBorder.cs
- SapiRecognizer.cs
- EndpointFilterProvider.cs
- DesignTimeDataBinding.cs
- AddInStore.cs
- storepermissionattribute.cs
- XamlTemplateSerializer.cs
- ResourceContainer.cs
- _DigestClient.cs
- MasterPageParser.cs
- OdbcConnectionPoolProviderInfo.cs
- TextRangeAdaptor.cs
- ToolStripSplitButton.cs
- ListDictionaryInternal.cs
- VirtualPath.cs
- Content.cs
- InvalidAsynchronousStateException.cs
- EnvelopeVersion.cs
- WebBrowserHelper.cs
- AssemblyAttributes.cs
- CustomCredentialPolicy.cs
- XmlReflectionMember.cs
- RequestQueue.cs
- CodeAccessPermission.cs
- SettingsBindableAttribute.cs
- WindowsUpDown.cs
- RSAOAEPKeyExchangeFormatter.cs
- AlternateViewCollection.cs
- HighlightComponent.cs
- TypeGenericEnumerableViewSchema.cs
- HtmlInputSubmit.cs
- Int32CAMarshaler.cs
- XmlDataImplementation.cs
- CachedPathData.cs
- DropShadowBitmapEffect.cs
- PolyBezierSegment.cs
- ServiceInfoCollection.cs
- EventRouteFactory.cs
- MetadataCache.cs
- ObjectItemCollection.cs
- HandlerMappingMemo.cs
- NominalTypeEliminator.cs
- BooleanStorage.cs
- Action.cs
- ContentIterators.cs
- Italic.cs