Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

How do I configure EFTracingProvider for EF 6.0 ?.

asked 22 Jan '15, 19:10

srikat's gravatar image

srikat
1111
accept rate: 0%


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.

permanent link

answered 23 Jan '15, 13:17

Jeff%20Albion's gravatar image

Jeff Albion
10.8k171175
accept rate: 25%

1

Thank you for quick response on this.

(23 Jan '15, 15:22) srikat
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

question asked: 22 Jan '15, 19:10

question was seen: 1,814 times

last updated: 23 Jan '15, 17:21

Related questions