Re: MySQl + .Net Connector + Entity Framework Code First
Hi Chandini,
This is actually a bug in Connector/NET, and has been filed under:
http://bugs.mysql.com/bug.php?id=64999
Meanwhile, you can try the following workaround:
using:
int count = myContext.Database.SqlQuery<int>("call GetCount()").First();
instead of
int count = myContext.Database.SqlQuery<int>("GetCount").First();
Thanks.
Subject
Written By
Posted
Re: MySQl + .Net Connector + Entity Framework Code First
April 16, 2012 03:07PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.