cancel
Showing results for 
Search instead for 
Did you mean: 

How do I configure EFTracingProvider for EF 6.0 ?

Former Member
0 Kudos
1,989

How do I configure EFTracingProvider for EF 6.0 ?.

Accepted Solutions (0)

Answers (1)

Answers (1)

jeff_albion
Product and Topic Expert
Product and Topic Expert

Hi srikat,

(FYI: I have converted your comment from here into a new question).

The EFProviderWrappers are no longer required for EF6 and up. They are only applicable to EF4 and EF5.

See: https://code.msdn.microsoft.com/windowsdesktop/EFProviderWrappers-c0b88f32

The sample cannot be made to work without modifications on Entity Framework 6 since the latter implements its own core APIs separate from the .NET framework and contains other breaking changes. We are currently not actively developing this sample and therefore we have no plans to publish a new version compatible with EF6.

That said, EF6 introduces a new feature called Interception which can help application and library developers achieve most of the same functionality without implementing a wrapping EF provider. For more information about Interception and other new features in Entity Framework 6, refer to the EF documentation at http://msdn.com/EF.

More specifically, see here: https://msdn.microsoft.com/en-us/data/dn469464.aspx to set a Context Log property in EF6 and trace the SQL operations.

Former Member

Thank you for quick response on this.