Summary Files Commits Branches @commit @diff @stats
path: root / website / tutorials / connect-to-mysql-in-csharp-ef / preparation.html
blob: 3e1196ffbedfbea60e22519d5079706bc114fcba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
    <head>
        <link rel='icon' href='../../images/favicon/favicon.png' type='image/png'/>
        <link rel="shortcut icon" href="../../images/favicon.png" type="image/png"/>
        <title>Connect to MySql in C# and Entitiy Framework - Preparation</title>
        <link rel="stylesheet" href="../../styles.css">
        <link rel="stylesheet" href="../../styles-multiple-page-articles.css">
    </head>

    <body>
        <div class=header>
            <div class=article-title>Connect to MySql in C# and Entitiy Framework</div>

            <a href="./introduction.html" class=other-tab>Introduction</a>
            <a href="./preparation.html" class=selected-tab>Preparation</a>
            <a href="./connecting.html" class=other-tab>Connecting</a>

            <a href="../index.html" class=close style="margin-left: 403px;"><img src="../../images/ui/close.png" alt="Back"></a>
        </div>

        <div class=page>
            <h2>MySql</h2>
            <p>
                First of all, you need to insall MySql. You can do that from <a href="https://dev.mysql.com/downloads/installer/" class=hyperlink>here</a>. This is the installer. Skip this step, if you have already done it.
            </p>
            <h2>NuGet packages</h2>
            <p>
                For an Entity Framework, <a href="https://www.nuget.org/packages/Microsoft.EntityFrameworkCore" class=hyperlink target="_blank">Microsoft.EntitiyFrameworkCore</a> is the goto packet in this tutorial.
            </p>
            <p>
                Although Microsoft.EntitiyFrameworkCore does offer connectivity with SQL server, <b>it doesn't offer anything for MySql</b>. Thats why we need another package: <a href="https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore/" class=hyperlink>MySql.Data.EntitiyFrameworkCore</a>.
            </p>
        </div>

        <br>

        <footer class=footer>
            <a href="https://github.com/Syndamia" target="_blank" class=hyperlink-footer><img src="../../images/logos/github.png" alt="GitHub"></a>
            <a href="https://stackoverflow.com/users/12036073/syndamia" target="_blank" class=hyperlink-footer><img src="../../images/logos/stackoverflow.png" alt="StackOverflow"></a>

            <hr width=350px noshade>

            <a href="../index.html" class=hyperlink-footer>Tutorials</a> |
            <a href="../../projects/index.html" class=hyperlink-footer>Projects</a> |
            <a href="../../about.html" class=hyperlink-footer>About</a> |
            <a href="../../resume.html" class=hyperlink-footer>Resume</a>

            <hr width=350px noshade>

            <a href="https://github.com/Syndamia/syndamiadotcom/blob/master/LICENSE" target="_blank" class=hyperlink-footer>Website License</a> |
            <a href="../../credit.html" target="_blank" class=hyperlink-footer>Credit</a>
        </footer>
    </body>
</html>