Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Created Feature: Consider Using Prepared Commands for Insert/Update/Delete [912]

$
0
0
We should consider using prepared statements - http://msdn.microsoft.com/en-us/library/ms175528(v=SQL.105).aspx

We'd need to test the perf of this to make sure it actually provides any significant improvement in EF. SQL Server documentation suggest it should perform better if we are executing the same command more than 3 times.

Once a command is prepared we can also avoid sending the entire command text and just send the command id and parameter values.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>