Turn off EF code first in custom module with Thunder
Hi,
I want to turn off EF code first when developing module with Thunder.
For example:
Database.SetInitializer<MyDbContext>(null);
How can I do that with EF in Sitefinity module?
Thanks
Hello,
I am afraid this is not possible.
Code first is the only option available. Sitefinity Thunder has generated all the code for you, based on the choices you've made during the creation of the module and then it needs to update the database.
What is your exact scenario?
Regards,
Veselin Vasilev
Telerik