blob: 0e72fa6180e64eb24e3ac7c4fa819c935d4220ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Connect to MySql in C# and Entity Framework - Preparation
**Article Created: 21 May 2020** || **Last Edited: 10 September 2020**
[`< Introduction`](./introduction.html) || [`Connecting >`](./connecting.html)
## [*Due for rework*](/rework.html)
---
## MySql
First of all, you need to insall MySql. You can do that from [here](https://dev.mysql.com/downloads/installer/). This is the installer. Skip this step, if you have already done it.
## NuGet packages
For an Entity Framework, [Microsoft.EntitiyFrameworkCore](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore) is the goto packet in this tutorial.
Although [Microsoft.EntitiyFrameworkCore](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore) does offer connectivity with MS SQL server, **it doesn't offer the specific things for MySql**.
That's why we need to also install another package: [MySql.Data.EntitiyFrameworkCore](https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore/).
|