Is there a way to configure options for IDatabaseInitializer?

Feb 20, 2012 at 9:12 AM

Is there a way to configure options for IDatabaseInitializer (http://msdn.microsoft.com/en-us/library/gg696323(v=vs.103).aspx) such as DropCreateDatabaseIfModelChanges.

I'm guessing that somewhere in App_Start\RunWeb would be a sensible place but I can't find anything in the API of IObjectPersistorInstaller that seems to allow this.

Many Thanks.

Coordinator
Feb 20, 2012 at 9:36 AM

Sorry no, we've not yet implemented any access to IDatabaseInitializer.

Feb 20, 2012 at 9:45 AM

Thanks for replying. I've logged an Issue for this:

http://nakedobjects.codeplex.com/workitem/38