[Mono-list] Entity Framework 6.0

Daniel Lo Nigro lists at dan.cx
Mon Dec 10 22:06:35 UTC 2012


Hi Adwen,

Everything works fine (i can login fine on the website) but the moment i
> touch anything with Entity framework I get an Error.

What errors are you getting? Make sure your application does not reference
System.Data.Entity, only EntityFramework. As far as I know,
System.Data.Entity contains some older Entity Framework stuff that isn't
compatible with Mono.

You should be able to use Visual Studio 2010 for your development. Having
said that, I was having lots of problems getting EntityFramework working on
Mono, and eventually gave up and switched to ServiceStack
OrmLite<https://github.com/ServiceStack/ServiceStack.OrmLite>which
works "out of the box" on Mono. EF6 is still an alpha version
targeting
a final release date of
mid-2013<http://visualstudiomagazine.com/blogs/data-driver/2012/11/entity-framework-6-alpha-1-announced.aspx>
so
I'm not sure if it's ready to be used in production scenarios yet.


On Tue, Dec 11, 2012 at 7:12 AM, Adwen <davirich82 at yahoo.com> wrote:

> I've been having some troubles getting Entity framework(6.0 Alpha) to work
> with mono. Or better said I do not know how to make it work. I'm using
> Visual studio 2010 and I used nuget package to download the latest
> opensource Entity Framework. Everything works fine (i can login fine on the
> website) but the moment i touch anything with Entity framework I get an
> Error.
> So what could I be doing wrong? Wrong .net framework (target framework
> VS2010 only goes up to 4.0)? Do you have any examples on how does this work
> from visual studio 2010? Or should I use 2012? There is simply too little
> information or than it is now supported in mono 2.11.3. Can someone from
> the
> team provide us with more information?
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Entity-Framework-6-0-tp4657723.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121211/d51debc9/attachment.html>


More information about the Mono-list mailing list