Rename Orchard.sdf

Topics: Customizing Orchard, General, Installing Orchard
Oct 23, 2012 at 4:02 PM

Mostly with creating tenants in mind-- how would I create site/tenant with CE db with alternate name?

Thx

Developer
Oct 23, 2012 at 4:10 PM

At the moment you cannot have multiple databases per tenants. 1 Database for all tenants.

As for renaming the file... You will need to modify that in the file SqlCeDataServicesProvider.cs (No one has asked to change it before)

I thought you might be able to rename it in the SiteSettings file, but it looks hard coded to me.

Nick

Oct 23, 2012 at 4:33 PM
Edited Oct 23, 2012 at 11:32 PM

Thanks for you reply.  

I'd actually done that to see that that would work... and does.  I'd tinkered with creating a module to override with OrchardSuppressDependency

but hadn't succeeded yet.  Will revisit that.

(didn't mean multiple.. just the single CE db.)