Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GETTING_STARTED.md #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This guide is for a simple single-project setup rather than a production-ready t

This guide assumes:

- You have the `.NET Core SDK` installed (tested with version 3.1, though it may work with other versions)
- You have the `.NET Core SDK` installed (tested with version 7.0, though it may work with other versions)
- You have `SQLite` installed and a basic knowledge of how to explore a SQLite database

# Setup
Expand Down Expand Up @@ -39,18 +39,28 @@ We will use `Paket` for package management, though you can apply the same princi
`dotnet paket convert-from-nuget`

## Installing the package

Install the following packages, taking care to ensure that they are all the same version.

- `Microsoft.EntityFrameworkCore`
- `Microsoft.EntityFrameworkCore.Relational`
- `Microsoft.EntityFrameworkCore.Sqlite` or [other database providers](https://learn.microsoft.com/en-us/ef/core/providers)
- `EntityFrameworkCore.FSharp`

paket

```bash
dotnet paket add Microsoft.EntityFrameworkCore.Sqlite
dotnet paket add EntityFrameworkCore.FSharp
dotnet paket add Microsoft.EntityFrameworkCore --version 6.0.7
dotnet paket add Microsoft.EntityFrameworkCore.Relational --version 6.0.7
dotnet paket add Microsoft.EntityFrameworkCore.Sqlite --version 6.0.7
dotnet paket add EntityFrameworkCore.FSharp --version 6.0.7
```

dotnet CLI

```bash
dotnet add package Microsoft.EntityFrameworkCore.Sqlite
dotnet add package EntityFrameworkCore.FSharp
dotnet add package Microsoft.EntityFrameworkCore.Sqlite --version 6.0.7
dotnet add package EntityFrameworkCore.FSharp --version 6.0.7
```

# Create the database
Expand Down