Effort.Exceptions.EffortException : Database has not been initialized - after non commited update?

c# effort entity-framework entity-framework-6

Popular Answer

The error notice offered some suggestions, so I followed it and added the following line to my test within theusing statement

    db.Database.CreateIfNotExists();

and it was effective for me.

1
4/14/2018 2:31:04 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow