开发者

Entity frameworks support for mysql? Any performance issues?

开发者 https://www.devze.com 2023-03-25 12:23 出处:网络
I was reading on another question a few days ago that EF now supports mysql, is this correct? Someone was saying they tried using it but performance was really bad.

I was reading on another question a few days ago that EF now supports mysql, is this correct?

Someone was saying they tried using it but performance was really bad.

Is this true? Has anyone tried开发者_C百科 it out? Does it support all the features of ms sql?


It is possible to use EF with MySQL, You will need a MySQL provider, one is devarts' here: http://www.devart.com/dotconnect/mysql/

EF adds an extra layer, so it will be slower than accessing the database directly, assuming that the person writing the query can write a query as good as that which the provider generates.

There, have been some performance problems reported, but you can always override the generated SQL if you need to. http://forums.mysql.com/read.php?38,425483,425483#msg-425483

0

精彩评论

暂无评论...
验证码 换一张
取 消