private void ChangeTemplatesPaths()
{
// For backward compatibility.
Update.Table(LayoutsTableName)
.InSchema(rootSchemaName)
.Set(new { LayoutPath = "~/Areas/bcms-installation/Views/Shared/WideLayout.cshtml" })
.Where(new { LayoutPath = "~/Areas/bcms-templates/Views/Shared/WideLayout.cshtml" });
Update.Table(LayoutsTableName)
.InSchema(rootSchemaName)
.Set(new { LayoutPath = "~/Areas/bcms-installation/Views/Shared/TwoColumnsLayout.cshtml" })
.Where(new { LayoutPath = "~/Areas/bcms-templates/Views/Shared/TwoColumnsLayout.cshtml" });
Update.Table(LayoutsTableName)
.InSchema(rootSchemaName)
.Set(new { LayoutPath = "~/Areas/bcms-installation/Views/Shared/ThreeColumnsLayout.cshtml" })
.Where(new { LayoutPath = "~/Areas/bcms-templates/Views/Shared/ThreeColumnsLayout.cshtml" });
}