GraphDiff icon indicating copy to clipboard operation
GraphDiff copied to clipboard

Modify query loader the way it generates parametrized SQL queries

Open YuriyIvon opened this issue 9 years ago • 4 comments

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.

YuriyIvon avatar Aug 30 '16 19:08 YuriyIvon

Is there a test to confirm this change works?

cryo75 avatar Aug 31 '16 04:08 cryo75

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 avatar Aug 31 '16 05:08 YuriyIvon

I've added the test

YuriyIvon avatar Aug 31 '16 19:08 YuriyIvon

Thanks

cryo75 avatar Sep 01 '16 02:09 cryo75