18
18
19
19
namespace Microsoft . Data . SqlClient
20
20
{
21
- sealed internal class SqlConnectionFactory : DbConnectionFactory
21
+ internal sealed class SqlConnectionFactory : DbConnectionFactory
22
22
{
23
- public static readonly SqlConnectionFactory SingletonInstance = new SqlConnectionFactory ( ) ;
23
+ internal static readonly SqlConnectionFactory SingletonInstance = new SqlConnectionFactory ( ) ;
24
24
25
25
private SqlConnectionFactory ( ) : base ( )
26
26
{
@@ -29,7 +29,7 @@ private SqlConnectionFactory() : base()
29
29
#endif
30
30
}
31
31
32
- override public DbProviderFactory ProviderFactory
32
+ public override DbProviderFactory ProviderFactory
33
33
{
34
34
get
35
35
{
@@ -245,7 +245,7 @@ internal static SqlConnectionString FindSqlConnectionOptions(SqlConnectionPoolKe
245
245
}
246
246
247
247
// @TODO: All these methods seem redundant ... shouldn't we always have a SqlConnection?
248
- override internal DbConnectionPoolGroup GetConnectionPoolGroup ( DbConnection connection )
248
+ internal override DbConnectionPoolGroup GetConnectionPoolGroup ( DbConnection connection )
249
249
{
250
250
SqlConnection c = ( connection as SqlConnection ) ;
251
251
if ( c != null )
@@ -255,7 +255,7 @@ override internal DbConnectionPoolGroup GetConnectionPoolGroup(DbConnection conn
255
255
return null ;
256
256
}
257
257
258
- override internal DbConnectionInternal GetInnerConnection ( DbConnection connection )
258
+ internal override DbConnectionInternal GetInnerConnection ( DbConnection connection )
259
259
{
260
260
SqlConnection c = ( connection as SqlConnection ) ;
261
261
if ( c != null )
@@ -265,7 +265,7 @@ override internal DbConnectionInternal GetInnerConnection(DbConnection connectio
265
265
return null ;
266
266
}
267
267
268
- override protected int GetObjectId ( DbConnection connection )
268
+ protected override int GetObjectId ( DbConnection connection )
269
269
{
270
270
SqlConnection c = ( connection as SqlConnection ) ;
271
271
if ( c != null )
@@ -275,7 +275,7 @@ override protected int GetObjectId(DbConnection connection)
275
275
return 0 ;
276
276
}
277
277
278
- override internal void PermissionDemand ( DbConnection outerConnection )
278
+ internal override void PermissionDemand ( DbConnection outerConnection )
279
279
{
280
280
SqlConnection c = ( outerConnection as SqlConnection ) ;
281
281
if ( c != null )
@@ -284,7 +284,7 @@ override internal void PermissionDemand(DbConnection outerConnection)
284
284
}
285
285
}
286
286
287
- override internal void SetConnectionPoolGroup ( DbConnection outerConnection , DbConnectionPoolGroup poolGroup )
287
+ internal override void SetConnectionPoolGroup ( DbConnection outerConnection , DbConnectionPoolGroup poolGroup )
288
288
{
289
289
SqlConnection c = ( outerConnection as SqlConnection ) ;
290
290
if ( c != null )
@@ -293,7 +293,7 @@ override internal void SetConnectionPoolGroup(DbConnection outerConnection, DbCo
293
293
}
294
294
}
295
295
296
- override internal void SetInnerConnectionEvent ( DbConnection owningObject , DbConnectionInternal to )
296
+ internal override void SetInnerConnectionEvent ( DbConnection owningObject , DbConnectionInternal to )
297
297
{
298
298
SqlConnection c = ( owningObject as SqlConnection ) ;
299
299
if ( c != null )
@@ -302,7 +302,7 @@ override internal void SetInnerConnectionEvent(DbConnection owningObject, DbConn
302
302
}
303
303
}
304
304
305
- override internal bool SetInnerConnectionFrom ( DbConnection owningObject , DbConnectionInternal to , DbConnectionInternal from )
305
+ internal override bool SetInnerConnectionFrom ( DbConnection owningObject , DbConnectionInternal to , DbConnectionInternal from )
306
306
{
307
307
SqlConnection c = ( owningObject as SqlConnection ) ;
308
308
if ( c != null )
@@ -312,7 +312,7 @@ override internal bool SetInnerConnectionFrom(DbConnection owningObject, DbConne
312
312
return false ;
313
313
}
314
314
315
- override internal void SetInnerConnectionTo ( DbConnection owningObject , DbConnectionInternal to )
315
+ internal override void SetInnerConnectionTo ( DbConnection owningObject , DbConnectionInternal to )
316
316
{
317
317
SqlConnection c = ( owningObject as SqlConnection ) ;
318
318
if ( c != null )
0 commit comments