aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ApartmentManager/HousingWebApi/App_Data/housingdb.mdfbin0 -> 8388608 bytes
-rw-r--r--ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldfbin0 -> 8388608 bytes
-rw-r--r--ApartmentManager/HousingWebApi/HousingWebApi.csproj16
-rw-r--r--ApartmentManager/HousingWebApi/Web.config4
4 files changed, 11 insertions, 9 deletions
diff --git a/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf b/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf
new file mode 100644
index 0000000..6fb4146
--- /dev/null
+++ b/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf
Binary files differ
diff --git a/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf b/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf
new file mode 100644
index 0000000..b33338f
--- /dev/null
+++ b/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf
Binary files differ
diff --git a/ApartmentManager/HousingWebApi/HousingWebApi.csproj b/ApartmentManager/HousingWebApi/HousingWebApi.csproj
index b94fb4b..7ea765b 100644
--- a/ApartmentManager/HousingWebApi/HousingWebApi.csproj
+++ b/ApartmentManager/HousingWebApi/HousingWebApi.csproj
@@ -151,15 +151,15 @@
</Reference>
</ItemGroup>
<ItemGroup>
- <Compile Include="Controllers\ApartmentsController.cs" />
- <Compile Include="Controllers\ChangeCommentsController.cs" />
- <Compile Include="Controllers\ChangeDocumentsController.cs" />
- <Compile Include="Controllers\ChangesController.cs" />
<Compile Include="Models\Apartment.cs" />
<Compile Include="Models\ApartmentResident.cs" />
<Compile Include="Models\Change.cs" />
<Compile Include="Models\ChangeComment.cs" />
<Compile Include="Models\ChangeDocument.cs" />
+ <Compile Include="Controllers\ApartmentsController.cs" />
+ <Compile Include="Controllers\ChangeCommentsController.cs" />
+ <Compile Include="Controllers\ChangeDocumentsController.cs" />
+ <Compile Include="Controllers\ChangesController.cs" />
<Compile Include="Controllers\DefectPicturesController.cs" />
<Compile Include="App_Start\BundleConfig.cs" />
<Compile Include="App_Start\FilterConfig.cs" />
@@ -212,6 +212,10 @@
<Compile Include="Models\User.cs" />
</ItemGroup>
<ItemGroup>
+ <Content Include="App_Data\housingdb.mdf" />
+ <Content Include="App_Data\housingdb_log.ldf">
+ <DependentUpon>housingdb.mdf</DependentUpon>
+ </Content>
<Content Include="Areas\HelpPage\HelpPage.css" />
<Content Include="Content\bootstrap.css" />
<Content Include="Content\bootstrap.min.css" />
@@ -265,9 +269,7 @@
<Content Include="Views\Shared\Error.cshtml" />
<Content Include="Views\Shared\_Layout.cshtml" />
</ItemGroup>
- <ItemGroup>
- <Folder Include="App_Data\" />
- </ItemGroup>
+ <ItemGroup />
<ItemGroup>
<Content Include="fonts\glyphicons-halflings-regular.woff" />
</ItemGroup>
diff --git a/ApartmentManager/HousingWebApi/Web.config b/ApartmentManager/HousingWebApi/Web.config
index e610a4b..ce7b94a 100644
--- a/ApartmentManager/HousingWebApi/Web.config
+++ b/ApartmentManager/HousingWebApi/Web.config
@@ -80,6 +80,6 @@
</providers>
</entityFramework>
<connectionStrings>
- <add name="DataModel" connectionString="data source=(localdb)\MSSQLLocalDB;initial catalog=housingdb;integrated security=True;pooling=False;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
- </connectionStrings>
+ <add name="DataModel" connectionString="data source=(LocalDB)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\housingdb.mdf;integrated security=True;connect timeout=30;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
+</connectionStrings>
</configuration> \ No newline at end of file