
C# 6 and .NET Core 1.0

Add a new Console Application (Package) project named Ch08_EFCore.
Notice that we have chosen Console Application (Package) to target .NET Core.
To use EF Core, you must install a provider for the RDBMS you want to use. You can find an up-to-date list of data providers here:
http://ef.readthedocs.org/en/latest/providers/index.html
To install the provider for SQL Server, on the Tools menu, choose NuGet Package Manager and then choose Package Manager Console.
In Package Manager Console, ensure package source is set to nuget.org
and default project is set to Ch08_EFCore
. Then, enter the following command in the prompt:
install-package entityframework.microsoftsqlserver
By the time you read this book, the final release version should be available so that the preceding command will work. If you get an error with the preceding line, add the –pre
flag to the end to install the pre-release version.
At the time of writing this book, the pre-release version of EF Core...
Change the font size
Change margin width
Change background colour