Comments (6)
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.
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.
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.
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.
@JonathanMagnan Works as expected! :)
from entityframework-classic.
Awesome @kanadaj,
Feel free to contact us for questions, issues or feedback.
Best regards,
Jon
from entityframework-classic.
Related Issues (20)
- Type not supported yet (LazyType): sdo_geometry HOT 11
- "Cannot bind argument to parameter 'Path' because it is an empty string" when running Add-Migration HOT 9
- Include with InvalidCastException exception HOT 4
- IDbContext HOT 8
- EF6 is available for .NET Core 3+ HOT 1
- HasNoKey and Constructor with Parameters HOT 5
- Make DbMigrator constructors public HOT 4
- Link to entityframework.net HOT 3
- Count() inside string expression in Execute method HOT 4
- Creating new array inside expression string - Execute extension method HOT 8
- Error when using UpdateFromQuery on an expanded query (Linqkit) HOT 3
- DbMigrator - Problems with existing migrations HOT 6
- HierarchyId.GetAncestor method raise an unexpected exception HOT 7
- Current Values are not reset when using SoftDelete HOT 6
- this.Configuration not availalbe in .net core 6 for soft delete HOT 3
- EDMX - Unable to cast object of type ObjectQuery to DbQuery in .Include() HOT 19
- The object cannot be deleted because it was not found in the ObjectStateManager HOT 1
- IDbCommandInterceptor called multiple times on queries with .IncludeOptimizedByPath() HOT 2
- add new provider Microsoft.Data.SqlClient HOT 3
- Unable to load the specified metadata resource. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entityframework-classic.