File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ This tutorial will teach you how to connect to MySQL from .NET Core using C#.
18
18
First, install the [ MySqlConnector NuGet package] ( https://www.nuget.org/packages/MySqlConnector/ ) . From
19
19
a command prompt, run:
20
20
21
- ```
21
+ ``` txt
22
22
dotnet add package MySqlConnector
23
23
```
24
24
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ You will need to install the following NuGet packages:
32
32
33
33
Build your connection string by substituting the appropriate values in this template:
34
34
35
- ```
35
+ ``` txt
36
36
Server=YOURSERVER; User ID=YOURUSERID; Password=YOURPASSWORD; Database=YOURDATABASE
37
37
```
38
38
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ It uses MySqlConnector to provide the core database connectivity.
22
22
In this tutorial, we'll use a console application to demonstrate the core concepts.
23
23
Create a console application, then add the Pomelo.EntityFrameworkCore.MySql NuGet package:
24
24
25
- ```
25
+ ``` txt
26
26
dotnet new console -o EFCoreMySQL
27
27
cd EFCoreMySQL
28
28
dotnet add package Pomelo.EntityFrameworkCore.MySql
@@ -32,7 +32,7 @@ dotnet add package Pomelo.EntityFrameworkCore.MySql
32
32
33
33
Build your connection string by substituting the appropriate values in this template:
34
34
35
- ```
35
+ ``` txt
36
36
Server=YOURSERVER; User ID=YOURUSERID; Password=YOURPASSWORD; Database=YOURDATABASE
37
37
```
38
38
You can’t perform that action at this time.
0 commit comments