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

Commented Feature: Allow DbContext to be created with an already-open existing connection plus ensure connection closing is consistent with opening [45]

$
0
0
DbContext can only be created with a closed connection, there are scenarios where it would be helpful if the connection could be open when creating the context (such as sharing a connection between components where we can not guarantee the state of the connection).<br /><br />The state of the EntityConnection and DbConnection should also be kept in sync.<br /><br />This item was migrated from the DevDiv work item tracking system [ID=7992]. <br />
Comments: The latest changes seem to comply with the scenario described below. Just make sure the current behavior is not changed until the official release.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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