* Added machine model, and new database relations

* Added first centralized database config and  added machine self-registration into db
* Fix database migration with new database
* Refactor
This commit is contained in:
Lucio Maranta
2018-01-17 10:24:18 +01:00
parent b26ec6cc43
commit fa485d902b
32 changed files with 457 additions and 141 deletions
+7 -5
View File
@@ -68,11 +68,13 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\FunctionAccessController.cs" />
<Compile Include="Controllers\MachineController.cs" />
<Compile Include="Controllers\UsersController.cs" />
<Compile Include="Controllers\MachinesUsersController.cs" />
<Compile Include="DatabaseContext.cs" />
<Compile Include="Migrations\201801101327160_InizialCreate.cs" />
<Compile Include="Migrations\201801101327160_InizialCreate.Designer.cs">
<DependentUpon>201801101327160_InizialCreate.cs</DependentUpon>
<Compile Include="Migrations\201801161604529_InitCreate.cs" />
<Compile Include="Migrations\201801161604529_InitCreate.Designer.cs">
<DependentUpon>201801161604529_InitCreate.cs</DependentUpon>
</Compile>
<Compile Include="Migrations\Configuration.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
@@ -108,8 +110,8 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Migrations\201801101327160_InizialCreate.resx">
<DependentUpon>201801101327160_InizialCreate.cs</DependentUpon>
<EmbeddedResource Include="Migrations\201801161604529_InitCreate.resx">
<DependentUpon>201801161604529_InitCreate.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />