mail-archives/mono-devel-list/2013-June/040499.html

128 строки
5.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [Mono-dev] Entity framework in mono
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20Entity%20framework%20in%20mono&In-Reply-To=%3CCAO1DM7ALBovuBC_Xd%2B19oEGdzNGCf9OBuzJkGzw%2BGD%3Dvqm2G_w%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="040494.html">
<LINK REL="Next" HREF="040508.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-dev] Entity framework in mono</H1>
<B>Sharique uddin Ahmed Farooqui</B>
<A HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20Entity%20framework%20in%20mono&In-Reply-To=%3CCAO1DM7ALBovuBC_Xd%2B19oEGdzNGCf9OBuzJkGzw%2BGD%3Dvqm2G_w%40mail.gmail.com%3E"
TITLE="[Mono-dev] Entity framework in mono">safknw at gmail.com
</A><BR>
<I>Wed Jun 5 07:07:09 UTC 2013</I>
<P><UL>
<LI>Previous message: <A HREF="040494.html">[Mono-dev] Entity framework in mono
</A></li>
<LI>Next message: <A HREF="040508.html">[Mono-dev] Entity framework in mono
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#40499">[ date ]</a>
<a href="thread.html#40499">[ thread ]</a>
<a href="subject.html#40499">[ subject ]</a>
<a href="author.html#40499">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I created another project now using MD on Linux, added EntityFramwork.dll
manually (don't know why add reference dialog not showing it), now It
compile successfully. On compilation it gives following warning.
Warning CS1701: Assuming assembly reference `EntityFramework,
Version=4.3.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' matches
assembly `EntityFramework, Version=6.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'. You may need to supply runtime policy
(CS1701) (MonoMvc)
I don't think there any EntityFramwork with version 4.3.xx exists.
Another thing is I'm not able to run it due to bug in System.Configuration
#11549 (<A HREF="https://bugzilla.xamarin.com/show_bug.cgi?id=11549">https://bugzilla.xamarin.com/show_bug.cgi?id=11549</A>)
Sharique uddin Ahmed Farooqui
<A HREF="http://safknw.blogspot.com/">http://safknw.blogspot.com/</A>
&quot;Peace&quot; is the Ultimate desire of mankind.
On Tue, Jun 4, 2013 at 5:13 PM, Daniel Lo Nigro &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-devel-list">daniel at dan.cx</A>&gt; wrote:
&gt;<i>
</I>&gt;<i> Mono only supports Entity Framework 6 and support is currently not fully
</I>&gt;<i> complete. I suggest looking at NHibernate or a micro ORM like ServiceStack
</I>&gt;<i> ORMLite or Dapper instead.
</I>&gt;<i> ---
</I>&gt;<i> Regards,
</I>&gt;<i> Daniel
</I>&gt;<i>
</I>&gt;<i> Sent from my phone - please excuse any typos.
</I>&gt;<i> On 04/06/2013 3:40 PM, &quot;Sharique uddin Ahmed Farooqui&quot; &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-devel-list">safknw at gmail.com</A>&gt;
</I>&gt;<i> wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> Hi,
</I>&gt;&gt;<i> I build pretty basic application using entity framework5 and MVC3 using
</I>&gt;&gt;<i> VS2012 Express, it works well.
</I>&gt;&gt;<i> I open this application on Linux (OpenSuse 12.3, Mono 3.0.7). It gives
</I>&gt;&gt;<i> error
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> /home/sharique/Projects/my projects/dot
</I>&gt;&gt;<i> net/MvcApplication1/MvcApplication1/Controllers/CustomerController.cs(44,44):
</I>&gt;&gt;<i> Error CS0103: The name `EntityState' does not exist in the current context
</I>&gt;&gt;<i> (CS0103) (MvcApplication1)
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> --
</I>&gt;&gt;<i> Sharique uddin Ahmed Farooqui
</I>&gt;&gt;<i> <A HREF="http://safknw.blogspot.com/">http://safknw.blogspot.com/</A>
</I>&gt;&gt;<i> &quot;Peace&quot; is the Ultimate desire of mankind.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> _______________________________________________
</I>&gt;&gt;<i> Mono-devel-list mailing list
</I>&gt;&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-devel-list">Mono-devel-list at lists.ximian.com</A>
</I>&gt;&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130605/ac7dae38/attachment.html">http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130605/ac7dae38/attachment.html</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="040494.html">[Mono-dev] Entity framework in mono
</A></li>
<LI>Next message: <A HREF="040508.html">[Mono-dev] Entity framework in mono
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#40499">[ date ]</a>
<a href="thread.html#40499">[ thread ]</a>
<a href="subject.html#40499">[ subject ]</a>
<a href="author.html#40499">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">More information about the Mono-devel-list
mailing list</a><br>
</body></html>