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

New Post: Query generation in batch insert scenarios

$
0
0

Hello tamasflamich,

Yes, I did consider the signature that you suggesting. Currently we don't reuse the same DbCommandDefinition instance, but even if we did choose to use this optimization it would still be possible to do on the provider side. The main reason I decided to pass DbCommandTree instead is that it allows the provider to build one DbCommandDefinition that represents several trees. The secondary reason is in the future we might add temporary identifiers to the tree to allow batching of dependent commands.


Viewing all articles
Browse latest Browse all 10318

Trending Articles



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