Mr Bell
Mr Bell

Reputation: 9338

Can ConcurrencyMode be set at runtime with Entity Framework

Is it possible to set a entities ConcurrencyMode at runtime with Entity Framework? I want to do this mostly because the I dont want to have to remember to reset these values every time I update the edmx file.

Upvotes: 1

Views: 335

Answers (1)

Ladislav Mrnka
Ladislav Mrnka

Reputation: 364369

No. Updating at runtime means updating XML file generated from EDMX prior to creating entity connection / context instance.

Upvotes: 1

Related Questions