ASP.NET Core Recipes by John Ciliberti

ASP.NET Core Recipes by John Ciliberti

Author:John Ciliberti
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Reverse Engineering Your Database

The first step in reverse engineering a database is to add the Entity Framework Core command-line tools to your project. To do this, right-click the Recipe05.DataAccess project in Solution Explorer and click Edit Recipe05.DataAccess.csproj. Modify the solution to match Listing 6-14.

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>

<TargetFramework>netcoreapp1.1</TargetFramework>

</PropertyGroup>

<ItemGroup>

<PackageReference Include="Microsoft.AspNetCore" Version="1.1.1" />

<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.0.2" />

<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.0.2" />

<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="1.0.2" />

</ItemGroup>

<ItemGroup>

<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />

</ItemGroup>

<ItemGroup>

<Folder Include="Entities\" />

</ItemGroup>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.