diff options
Reworked Connecting to MySQL in C# and Entity Framework tutorial
1 files changed, 5 insertions, 7 deletions
| -rw-r--r-- | src/tutorials/connect-to-mysql-in-csharp-ef/preparation.md | 12 |
diff --git a/src/tutorials/connect-to-mysql-in-csharp-ef/preparation.md b/src/tutorials/connect-to-mysql-in-csharp-ef/preparation.md index 0e72fa6..2736b51 100644 --- a/src/tutorials/connect-to-mysql-in-csharp-ef/preparation.md +++ b/src/tutorials/connect-to-mysql-in-csharp-ef/preparation.md @@ -1,22 +1,20 @@ # Connect to MySql in C# and Entity Framework - Preparation -**Article Created: 21 May 2020** || **Last Edited: 10 September 2020** +**Article Created: 21 May 2020** || **Last Edited: 25 November 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. +This tutorial doesn't cover it, but you'll need to have properly [installed and configured](https://dev.mysql.com/doc/mysql-installation-excerpt/5.7/en/) `MySQL`. ## NuGet packages -For an Entity Framework, [Microsoft.EntitiyFrameworkCore](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore) is the goto packet in this tutorial. +You'll need to install two NuGet packages: [Microsoft.EntityFrameworkCore](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore) and [MySql.Data.EntityFrameworkCore](https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore/). -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**. +[Microsoft.EntityFrameworkCore](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore) is the [object-relational mapping](https://en.wikipedia.org/wiki/Object%E2%80%93relational_mapping) implementation we'll be using. It doesn't offer the specifics for connecting to a `MySQL` database, but it does everything else. -That's why we need to also install another package: [MySql.Data.EntitiyFrameworkCore](https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore/). +[MySql.Data.EntityFrameworkCore](https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore/) is what enables Microsoft.EntityFrameworkCore to connect to a `MySQL` database. |