In .NET Framework was DbContext in EntityFramework 6 was constructor where I can set DbConnection.
In EF .NET Core can I set DbContext DbConnection? I hit an exception in UseTransaction of DbContext method:
An exception of type 'System.InvalidOperationException' occurred in Microsoft.EntityFrameworkCore.Relational.dll but was not handled in user code: 'The specified transaction is not associated with the current connection. Only transactions associated with the current connection may be used.'
Does any body know how set the DbConnection? Or I have get a wrong way?