MySql in DNX 5.0

后端 未结 2 1740
囚心锁ツ
囚心锁ツ 2021-02-15 02:57

I would like to ask- is it possible to connect to MySql database in DNX Core 5.0? In my project I need to do web api and I have vNext Class Library project that

相关标签:
2条回答
  • 2021-02-15 03:33

    Saldy it's not in EntityFramework 7 yet, my understanding is that they're not prioritizing it for the initial release that's scheduled in January.

    Read more: https://github.com/aspnet/EntityFramework/wiki/Using-EF7-in-Traditional-.NET-Applications

    0 讨论(0)
  • 2021-02-15 03:44

    I have a similar question running.

    DNXCORE 5.0 and mysql / mariadb

    At this moment it is not possible to run MySQL and DNX 5.0! If you want to use it with DNX, you have to fall back on 4.5.1 ( and use mono for Linux environments )

    This is because there is no connector available for MySQL. If applicable, you can use postgresql with DNX 5.0 in stead of MySQL/MariaDB

    0 讨论(0)
提交回复
热议问题