Turn off EF code first in custom module with Thunder

Posted by Community Admin on 04-Aug-2018 08:18

Turn off EF code first in custom module with Thunder

All Replies

Posted by Community Admin on 11-Dec-2013 00:00

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

Posted by Community Admin on 17-Dec-2013 00:00

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

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed