# EntityFramework



# Link-Sammlung

http://bekenty.com/use-sqlite-in-net-core-3-with-entity-framework-core/

# Installation

## Install Entity Framework Core

When working with EF Core, you will want to install the correct package for the Entity Framework Core database provider you want to target in your project. Since this demo project is regarding SQLite, I am going to install the EF Core that supports SQLite.

## Add NuGet package reference

```
Install-Package Microsoft.EntityFrameworkCore.Sqlite
```

A new file will be created in the project with the following content

Klassen erstellen

```
Add-Migration InitialCreate
```

```
Update-Database
```

Add-Migration &lt;NAME&gt; //Sample: AddExecuteCounterCreate

Update-Database