zzzprojects / GraphDiff

GraphDiff is a library that allows the automatic update of a detached graph using Entity Framework code first.
https://entityframework-graphdiff.net/overview
MIT License
333 stars 102 forks source link

Modify query loader the way it generates parametrized SQL queries #163

Open YuriyIvon opened 8 years ago

YuriyIvon commented 8 years ago

It allows Entity Framework to use cached queries and not rebuild SQL text each time. The same for databases - parametrized query allows to cache execution plan.

cryo75 commented 8 years ago

Is there a test to confirm this change works?

YuriyIvon commented 8 years ago

I checked it with a real application, but I agree that it needs an automated test. I have an idea on how to test it - will check it.

YuriyIvon commented 8 years ago

I've added the test

cryo75 commented 8 years ago

Thanks