Removed commented code from CslaDataPortalRegistry.
Removed RouteUrl from Category in model because it is already covered by Page. Added UrlSlug to ProductXStoreLocale so a tool can be made to automatically update all RouteUrls in CategoryXProductXStoreLocale.
Renamed Store entity to be Tenant to show that it serves more than just stores.
Renamed Store entity to be Tenant to show that it serves more than just stores.
Added TenantType to the model. Renamed ContentTypeId to be ContentType to reflect that it is not based on a table.
Renamed Domain field of Tenant to Host as we will do a complete host match.
Fixed application so DI registration succeeds and so tenant and current culture can be retrieved from HttpContext (in the URL or cookies).
Added Initializer to seed the database.
Modified Entity Framework mocking so it uses DbContext and DbSet rather than ObjectContext and ObjectSet because seeding cannot work with ObjectContext.
Removed files that were used to work out the DbContext and DbSet classes that are auto generated.
Created PageRoute custom route to handle localized and default URLs. Created SingletonObjectCache base class so CSLA objects can be cached on the server-side.