How to use EF6 and MySql with dnxcore50 map

I am trying to use EF6 with a MySql database using dnxcore50. The code for the database repository has already been done and I am trying to migrate it to a new structure, but I have a lot of missing links for the following:

EntityTypeConfiguration
DbContext
MySql.Data.Entity.MySqlEFConfiguration
DbConfigurationType
DbSet
and more

      

Here is my project.json

"dependencies": {
    "EntityFramework": "6.1.3",
    "System.Data.Entity.Repository": "2.0.0.1",
    "System.Collections": "4.0.10-beta-23109",
    "System.Linq.Expressions": "4.0.10-beta-23109",
    "System.Threading.Tasks": "4.0.10-beta-23109",
    "System.Runtime": "4.0.20-beta-23109",
    "WNCT.Domain": "1.0.0-*",
    "MySql.Data.Entity.EF6": "6.8.3",
    "Microsoft.AspNet.Diagnostics.Entity": "7.0.0-*",
    "MySql.Data.Entities": "6.8.3",
    "StructureMap": "3.1.6.186",
    "MySql.Web": "6.9.7",
    "MySql.Data": "6.9.7"
  },

  "frameworks": {
    "dnxcore50": {
      "dependencies": { }
    }
  }

      

I can't phantom what I am missing. Does anyone know how to set this up?

+3


source to share





All Articles