src/Shared/EntityFramework/Internal/EagerInternalConnection.cs
// <summary>
// Dispose the existing connection is the original caller has specified that it should be disposed
// by the framework.
// </summary>
Dispose the existing connection is the original caller has specified that it should be disposed
by the framework.
Dispose the existing connection is the original caller has specified that it should be disposed by the framework .
public override void Dispose()
        {
            if (_connectionOwned)
            {
                if (UnderlyingConnection is EntityConnection)
                {
                    UnderlyingConnection.Dispose();
                }
                else
                {
                    DbInterception.Dispatch.Connection.Dispose(UnderlyingConnection, InterceptionContext);
                }
            }
        }
public override void Dispose ( ) { if ( _connectionOwned ) { if ( UnderlyingConnection is EntityConnection ) { UnderlyingConnection . Dispose ( ) ; } else { DbInterception . Dispatch . Connection . Dispose ( UnderlyingConnection , InterceptionContext ) ; } } }
Dispose the existing connection is the original caller has specified that it should be disposed
by the framework.
Dispose the existing connection is the original caller has specified that it should be disposed by the framework .