Giter VIP home page Giter VIP logo

Comments (6)

JonathanMagnan avatar JonathanMagnan commented on June 12, 2024

Hello @kanadaj ,

We are waiting for the official release of EF 6.4 before merging changes in our branch. We might try as well to merge the latest 6.4 previews during Chrismas break at the end of December. So that's coming soon.

Alternatively, could you possibly release Z.EntityFramework.Classic.MySql retargeted for EF 6.3

So you want us to release a version for Entity Framework as well if I understand correctly?

I guess if we speak only for the work required, we mostly only need to change the reference from EF Classic to EF 6.3. So this part is easy.

The hard part is: How to name this package? Any suggestions?

We could maybe simply name it: Z.MySql.Data.EntityFramework maybe?

from entityframework-classic.

kanadaj avatar kanadaj commented on June 12, 2024

Hi @JonathanMagnan,

Z.MySql.Data.EntityFramework seems good to me! In reality this should really go to MySql.Data.EntityFramework but I have no high hopes that would ever happen with the way Oracle works...

And yes, you understand it correctly. Due to the dependency changes, old providers need to be recompiled for EF 6.3 and almost nobody did it so far, and EF Classic is basically already there, just need the line changed in MySqlDependencyResolver.cs:135. :)

And I didn't even realise until now that the EF6 MySQL provider was in fact inside the mysql-connector repo! I just realised about 30 minutes ago...

from entityframework-classic.

JonathanMagnan avatar JonathanMagnan commented on June 12, 2024

Hello @kanadaj ,

Could you try the following package: https://www.nuget.org/packages/Z.MySql.Data.Entity/8.0.0

You will find the setup information in the readme of our fork: https://github.com/zzzprojects/mysql-connector-net

In short, you need to change the library name, version and public key (since their key was private ;( )

Could you confirm me that everything works as expected?

Best Regards,

Jon

from entityframework-classic.

kanadaj avatar kanadaj commented on June 12, 2024

Hi @JonathanMagnan, I'll check it out tomorrow! I don't use the .config file though, since I'm using EF Classic inside ASP.NET Core 2 (where the .config file support tends to be a bit weird, or as Brice Lambson said in dotnet/EntityFramework.Docs#1784, "here be dragons", so I only use the code-based configuration)

In the meantime I ended up forking the library myself and - just for the sake of trying if it works -, try to retarget the EF Classic package to https://github.com/mysql-net/MySqlConnector/ for the underlying provider - and it was actually not terribly hard and is working fairly well! I have issues with the spatial support (that needs some more code, but personally I don't use spatial), but it's actually async so there is that. It might be worth looking at.

I'll get back to you as soon as I know if yours works

from entityframework-classic.

kanadaj avatar kanadaj commented on June 12, 2024

@JonathanMagnan Works as expected! :)

from entityframework-classic.

JonathanMagnan avatar JonathanMagnan commented on June 12, 2024

Awesome @kanadaj,

Feel free to contact us for questions, issues or feedback.

Best regards,

Jon

from entityframework-classic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.