Skip to content
Discussion options

You must be logged in to vote

I think it's so that you can create things like database connections and data store contexts and have them used across all of the objects in an object graph. If a parent creates a connection, then using that same connection for all of the children, grandchildren and so on is really useful. Reuse of the same connection/context avoids any attempt to perform escalation to a distributed transaction.

Avoiding escalation is not only an efficiency gain, it's vital in .NET Core. .NET Core suffers from the hidden .NET Standard fib: that PlatformNotSupportedException is an allowed implementation of an API. Sigh. .NET Core runtimes throw PlatformNotSupportedException during an attempt to escalate a …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@swegele
Comment options

swegele Feb 17, 2022
Collaborator Author

@TheCakeMonster
Comment options

@rockfordlhotka
Comment options

@rockfordlhotka
Comment options

@swegele
Comment options

swegele Feb 17, 2022
Collaborator Author

Answer selected by swegele
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants