3 types derived from DbConnectionOptions
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcConnectionString.cs (1)
19
internal sealed class OdbcConnectionString :
DbConnectionOptions
{
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (1)
31
internal sealed class OleDbConnectionString :
DbConnectionOptions
{
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
23
internal sealed class SqlConnectionString :
DbConnectionOptions
{
2 instantiations of DbConnectionOptions
System.Data (2)
fx\src\data\System\Data\Common\DBConnectionString.cs (1)
61
: this(new
DbConnectionOptions
(value, synonyms, useOdbcRules), restrictions, behavior, synonyms, false)
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
142
DbConnectionOptions constr = new
DbConnectionOptions
(value, null, UseOdbcRules);
73 references to DbConnectionOptions
System.Data (73)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
152
protected DbConnectionOptions(
DbConnectionOptions
connectionOptions) { // Clone used by SqlConnectionString
fx\src\data\System\Data\Common\DBConnectionString.cs (3)
67
internal DBConnectionString(
DbConnectionOptions
connectionOptions)
74
private DBConnectionString(
DbConnectionOptions
connectionOptions, string restrictions, KeyRestrictionBehavior behavior, Hashtable synonyms, bool mustCloneDictionary) { // used by DBDataPermission
416
nextStartPosition =
DbConnectionOptions
.GetKeyValuePair(restrictions, startPosition, buffer, false, out keyname, out keyvalue);
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (4)
87
DbConnectionOptions
.ValidateKeyValuePair(keyword, keyvalue);
142
DbConnectionOptions
constr = new DbConnectionOptions(value, null, UseOdbcRules);
228
DbConnectionOptions
.AppendKeyValuePairBuilder(builder, keyword, value, false);
232
DbConnectionOptions
.AppendKeyValuePairBuilder(builder, keyword, value, useOdbcRules);
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
72
internal DBDataPermission(
DbConnectionOptions
connectionOptions) { // v2.0
fx\src\data\System\Data\Odbc\OdbcConnectionFactory.cs (5)
37
override protected DbConnectionInternal CreateConnection(
DbConnectionOptions
options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) {
42
override protected
DbConnectionOptions
CreateConnectionOptions(string connectionString,
DbConnectionOptions
previous) {
48
override protected DbConnectionPoolGroupOptions CreateConnectionPoolGroupOptions(
DbConnectionOptions
connectionOptions ) {
54
override internal DbConnectionPoolGroupProviderInfo CreateConnectionPoolGroupProviderInfo (
DbConnectionOptions
connectionOptions) {
fx\src\data\System\Data\OleDb\OleDbConnection.cs (2)
112
if ((null != value) && !((string)value).StartsWith(
DbConnectionOptions
.DataDirectory, StringComparison.OrdinalIgnoreCase)) {
146
if ((null != value) && !((string)value).StartsWith(
DbConnectionOptions
.DataDirectory, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (5)
37
override protected DbConnectionInternal CreateConnection(
DbConnectionOptions
options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) {
42
protected override
DbConnectionOptions
CreateConnectionOptions(string connectionString,
DbConnectionOptions
previous) {
109
override protected DbConnectionPoolGroupOptions CreateConnectionPoolGroupOptions(
DbConnectionOptions
connectionOptions) {
113
override internal DbConnectionPoolGroupProviderInfo CreateConnectionPoolGroupProviderInfo (
DbConnectionOptions
connectionOptions) {
fx\src\data\System\Data\ProviderBase\DbConnectionClosed.cs (5)
65
internal override bool TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
75
internal override bool TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
109
internal override bool TryReplaceConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
113
internal override bool TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
154
internal override bool TryReplaceConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (17)
113
internal virtual DbConnectionPoolProviderInfo CreateConnectionPoolProviderInfo(
DbConnectionOptions
connectionOptions){
124
internal DbConnectionInternal CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup,
DbConnectionOptions
userOptions) {
128
DbConnectionOptions
connectionOptions = poolGroup.ConnectionOptions;
141
internal DbConnectionInternal CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject,
DbConnectionOptions
options, DbConnectionPoolKey poolKey,
DbConnectionOptions
userOptions) {
154
virtual internal DbConnectionPoolGroupProviderInfo CreateConnectionPoolGroupProviderInfo (
DbConnectionOptions
connectionOptions) {
163
protected
DbConnectionOptions
FindConnectionOptions(DbConnectionPoolKey key) {
186
internal bool TryGetConnection(DbConnection owningConnection, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions, DbConnectionInternal oldConnection, out DbConnectionInternal connection) {
358
DbConnectionOptions
connectionOptions = connectionPoolGroup.ConnectionOptions;
369
internal DbConnectionPoolGroup GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, ref
DbConnectionOptions
userConnectionOptions) {
381
DbConnectionOptions
connectionOptions = CreateConnectionOptions(key.ConnectionString, userConnectionOptions);
571
virtual protected DbConnectionInternal CreateConnection(
DbConnectionOptions
options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection,
DbConnectionOptions
userOptions) {
575
abstract protected DbConnectionInternal CreateConnection(
DbConnectionOptions
options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection);
577
abstract protected
DbConnectionOptions
CreateConnectionOptions(string connectionString,
DbConnectionOptions
previous);
579
abstract protected DbConnectionPoolGroupOptions CreateConnectionPoolGroupOptions(
DbConnectionOptions
options);
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (7)
27
private
DbConnectionOptions
_userConnectionOptions;
76
internal
DbConnectionOptions
ConnectionOptions {
86
DbConnectionOptions
connectionOptions = UserConnectionOptions;
97
DbConnectionOptions
connectionOptions = null;
146
internal
DbConnectionOptions
UserConnectionOptions {
307
DbConnectionOptions
connectionOptions = ((null != poolGroup) ? poolGroup.ConnectionOptions : null);
312
DbConnectionOptions
userConnectionOptions = UserConnectionOptions;
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (3)
665
internal virtual bool TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
669
internal virtual bool TryReplaceConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
673
protected bool TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (7)
57
public PendingGetConnection(long dueTime, DbConnection owner, TaskCompletionSource<DbConnectionInternal> completion,
DbConnectionOptions
userOptions) {
65
public
DbConnectionOptions
UserOptions { get; private set; }
792
private DbConnectionInternal CreateObject(DbConnection owningObject,
DbConnectionOptions
userOptions, DbConnectionInternal oldConnection) {
1171
internal bool TryGetConnection(DbConnection owningObject, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions, out DbConnectionInternal connection) {
1223
private bool TryGetConnection(DbConnection owningObject, uint waitForMultipleObjectsTimeout, bool allowCreate, bool onlyOneCheckConnection,
DbConnectionOptions
userOptions, out DbConnectionInternal connection) {
1431
internal DbConnectionInternal ReplaceConnection(DbConnection owningObject,
DbConnectionOptions
userOptions, DbConnectionInternal oldConnection) {
1794
private DbConnectionInternal UserCreateRequest(DbConnection owningObject,
DbConnectionOptions
userOptions, DbConnectionInternal oldConnection = null) {
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (3)
34
private readonly
DbConnectionOptions
_connectionOptions;
53
internal DbConnectionPoolGroup (
DbConnectionOptions
connectionOptions, DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolGroupOptions) {
69
internal
DbConnectionOptions
ConnectionOptions {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1042
DbConnectionOptions
connectionOptions = connection.UserConnectionOptions;
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (8)
35
override protected DbConnectionInternal CreateConnection(
DbConnectionOptions
options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) {
39
override protected DbConnectionInternal CreateConnection(
DbConnectionOptions
options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection,
DbConnectionOptions
userOptions) {
132
protected override
DbConnectionOptions
CreateConnectionOptions(string connectionString,
DbConnectionOptions
previous) {
138
override internal DbConnectionPoolProviderInfo CreateConnectionPoolProviderInfo(
DbConnectionOptions
connectionOptions){
148
override protected DbConnectionPoolGroupOptions CreateConnectionPoolGroupOptions(
DbConnectionOptions
connectionOptions ) {
217
override internal DbConnectionPoolGroupProviderInfo CreateConnectionPoolGroupProviderInfo (
DbConnectionOptions
connectionOptions) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2680
internal override bool TryReplaceConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry,
DbConnectionOptions
userOptions) {