Arthur Vickers
Arthur Vickers
Note for team triage: Not a regression; still repros on latest daily. Code ```C# using (var context = new SomeDbContext()) { context.Database.EnsureDeleted(); context.Database.EnsureCreated(); FirstEntry firstEntry = new FirstEntry() { Key...
@JonPSmith In my experience, it's only the creation and dropping of databases that is really slow. (Also, dropping a database destabilizes SQL Server, so we avoid ever doing it when...
@JonPSmith The key thing about the cleaner is that it can't be based on the EF model otherwise, as you point out, when the model changes it may no longer...
Catching up on this. We generally don't use migrations for our functional tests--remember our tests are for testing EF, not an application that uses EF, and hence we have models...
@JonPSmith Sounds good. Let us know how it goes.
This is by-design. Find is specifically designed for tracking scenarios. Use a query to bring back entities without tracking them.
> But then why does Find respect the QueryTrackingBehavior when the entity isn't already tracked? This came as a surprise to us. It's not supposed to be this way, as...
Note for triage: looks like L2S has a special concurrency check: "WhenChanged: Use this column only when the member has been changed by the application."
This issue is lacking enough information for us to be able to fully understand what is happening. Please attach a small, runnable project or post a small, runnable code listing...
Notes for triage: this is an extreme case of "n + 1". That is, the top level query is executed, and then 33,000 additional queries are executed to load each...