MySql in DNX 5.0

后端 未结 2 1968
孤街浪徒
孤街浪徒 2021-02-15 03:07

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:40

    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:40

    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)
提交回复
热议问题