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.
answered
23 Jan '15, 13:17
Jeff Albion
10.8k●1●71●175
accept rate:
25%