Skip to content

EF6 StatisticsEnabled trickery + EF6 TagWith polyfill #842

Description

@jzabroski

Hi Jonathan,

When we use an EF6 DbCommandInterceptor to replicate the EFCore SET STATISTICS IO ON example, the behavior replication fails because Z.EntityFramework.EF6.Plus creates its own DbCommand and we end up only receiving the statistics from that table. Attached is a zip file containing a self-contained, mostly minimal repro that also includes/demonstrates composing tags with WhereBulkContains.

I've attached working code example for both the statistics issue and an EFCore TagWith polyfill. Run the program and it wil ask you for the license name and key; you can also set Z_EF_LICENSE_NAME and Z_EF_LICENSE_KEY environment variables to run it multiple times.

ZEfPlusStatsIoRepro.zip

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions