diff --git a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/CraftAndDesignCouncil.Data.dbproj b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/CraftAndDesignCouncil.Data.dbproj index ea545af..77fc6cb 100644 --- a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/CraftAndDesignCouncil.Data.dbproj +++ b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/CraftAndDesignCouncil.Data.dbproj @@ -13,7 +13,7 @@ False - 1033, CI + 1033,CI BySchema True True @@ -136,4 +136,15 @@ + + + Code + + + Code + + + Code + + \ No newline at end of file diff --git a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqlsettings b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqlsettings index a6b27b3..e8529d3 100644 --- a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqlsettings +++ b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqlsettings @@ -1,52 +1,46 @@  - + 1.0 - - SQL_Latin1_General_CP1_CI_AS + False True True True True True - True - True - False - False - ONLINE - READ_WRITE - False - LOCAL False True False True - False + False + 2 + Days + False + True MULTI_USER - FULL - True False + ONLINE + False + Latin1_General_CI_AS + LOCAL PRIMARY - - - False - False + True + False + True + False + False + False NONE - DisableBroker - False SIMPLE - False + True False - True + FULL + False + DisableBroker False - - - False - True - 2 - Days - False - False + False + False + READ_WRITE + True - - + \ No newline at end of file diff --git a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Service Broker/Routes/AutoCreatedLocal.route.sql b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Service Broker/Routes/AutoCreatedLocal.route.sql new file mode 100644 index 0000000..4d731a7 --- /dev/null +++ b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Service Broker/Routes/AutoCreatedLocal.route.sql @@ -0,0 +1,4 @@ +CREATE ROUTE [AutoCreatedLocal] + AUTHORIZATION [dbo] + WITH ADDRESS = N'LOCAL'; + diff --git a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Storage/Files/CADC_AwardsProcess.sqlfile.sql b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Storage/Files/CADC_AwardsProcess.sqlfile.sql new file mode 100644 index 0000000..cab113e --- /dev/null +++ b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Storage/Files/CADC_AwardsProcess.sqlfile.sql @@ -0,0 +1,3 @@ +ALTER DATABASE [$(DatabaseName)] + ADD FILE (NAME = [CADC_AwardsProcess], FILENAME = '$(DefaultDataPath)CADC_AwardsProcess.mdf', FILEGROWTH = 1024 KB) TO FILEGROUP [PRIMARY]; + diff --git a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Storage/Files/CADC_AwardsProcess_log.sqlfile.sql b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Storage/Files/CADC_AwardsProcess_log.sqlfile.sql new file mode 100644 index 0000000..9cf97c1 --- /dev/null +++ b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Schema Objects/Database Level Objects/Storage/Files/CADC_AwardsProcess_log.sqlfile.sql @@ -0,0 +1,3 @@ +ALTER DATABASE [$(DatabaseName)] + ADD LOG FILE (NAME = [CADC_AwardsProcess_log], FILENAME = '$(DefaultLogPath)CADC_AwardsProcess_log.ldf', MAXSIZE = 2097152 MB, FILEGROWTH = 10 %); + diff --git a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Web.Mvc/NHibernate.config b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Web.Mvc/NHibernate.config index cbf06ed..1e5328e 100644 --- a/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Web.Mvc/NHibernate.config +++ b/GoldsmithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Web.Mvc/NHibernate.config @@ -12,8 +12,8 @@ + If you're still using HBMs, you can use the mapping here or pass the assembly via Global.asax.cs + as well, just like you can do with the Fluent NHibernate assembly(s). --> - + \ No newline at end of file