Questions tagged [shareddbconnectionscope]

4 questions
3
votes
2 answers

SubSonic2.2 SharedDbConnectionScope and TransactionScope Transaction Confusion

ARGH!!! There seems to be a little confusion surrounding the SharedDbConnectionScope and TransactionScope objects to enable wrapping your SubSonic queries within a transaction. The docs suggest specifying the using SharedDbConnectionScope wrapped…
BlackMael
  • 3,198
  • 5
  • 25
  • 42
2
votes
0 answers

SubSonic 2.2 + SharedDbConnectionScope

I have seen posts (first, second) on StackOverflow that say that SubSonic 2.2's SharedDbConnectionScope doesn't work with TransactionScope. Can we still rely on SharedDbConnectionScope in other contexts? I want to know if I should be concerned when…
Jason Kealey
  • 7,988
  • 11
  • 42
  • 55
0
votes
0 answers

Shared DB Tenant Discriminator vs global context

I don't expect you have much experience with this approach. I have an app working with tenants. For some tenants each have his own db(db per tenant), but for others it's 'default' db with tenantId as discriminator column. I currently implemented…
0
votes
1 answer

Subsonic, SharedDbConnectionScope and ApplicationState

I'm looking at using Subsonic with a multi-tenant ASP.net web application. There are multiple DB's (one per client/instance). The user logs in with a domain suffix to their username (e.g. user@tenant1, user@tenant2). The custom membership provider…
Dane
  • 619
  • 5
  • 14