درس Entity Framework في بريزم
#42
وجدت الحل هنا
إقتباس : 0 down vote
hi,
i add the same problem, trying to unit-test my dal. I've found that this works :
<add name="salesentities" connectionstring="metadata=res://*;provider=system.data.sqlclient;provider connection string=&quot;data source=.;initial catalog=phoenix;integrated security=true;multipleactiveresultsets=true&quot;" providername="system.data.entityclient" />

i had a similar problem with a winforms project and despite trying everything i could find related to it on the web could not resolve my problem..... Until i removed the field that i was using for my objectcontext (private cubentities _oc = new cubentities()) from my baseform to the actual form using it.
Up vote 0 down vote
if you copy your app.config file into the main project and replace all the &quot; with the normal ' character it should run
link|flag
حلت لكن مازالت هناك مشاكل اخرى
إقتباس :{"the specified default entitycontainer name 'testentities' could not be found in the mapping and metadata information.\r\nparameter name: Defaultcontainername"}


الردود في هذا الموضوع
درس Entity Framework في بريزم - بواسطة shagrouni - 17-07-2010, 01:19 PM
درس Entity Framework في بريزم - بواسطة علي علوي - 19-07-2010, 08:59 PM
درس Entity Framework في بريزم - بواسطة shagrouni - 24-07-2010, 03:02 AM
درس Entity Framework في بريزم - بواسطة علي علوي - 24-07-2010, 02:03 PM
درس Entity Framework في بريزم - بواسطة shagrouni - 24-07-2010, 05:42 PM
درس Entity Framework في بريزم - بواسطة tarek - 24-07-2010, 11:25 PM
درس Entity Framework في بريزم - بواسطة shagrouni - 01-08-2010, 02:26 PM
درس Entity Framework في بريزم - بواسطة shagrouni - 02-08-2010, 09:45 PM
درس Entity Framework في بريزم - بواسطة messaoud1 - 04-08-2010, 09:34 AM
درس Entity Framework في بريزم - بواسطة علي علوي - 04-08-2010, 11:48 PM
درس Entity Framework في بريزم - بواسطة talal - 08-08-2010, 01:36 PM
درس Entity Framework في بريزم - بواسطة messaoud1 - 10-08-2010, 06:43 PM
درس Entity Framework في بريزم - بواسطة messaoud1 - 10-08-2010, 09:06 PM
درس Entity Framework في بريزم - بواسطة علي علوي - 10-08-2010, 10:52 PM
درس Entity Framework في بريزم - بواسطة shagrouni - 10-08-2010, 11:56 PM
درس Entity Framework في بريزم - بواسطة زكيري عبدالعالي - 11-08-2010, 03:03 PM
درس Entity Framework في بريزم - بواسطة messaoud1 - 13-08-2010, 11:39 PM
درس Entity Framework في بريزم - بواسطة علي علوي - 15-08-2010, 02:34 PM
درس Entity Framework في بريزم - بواسطة محمد نسمان - 17-11-2010, 10:53 AM
درس Entity Framework في بريزم - بواسطة shagrouni - 31-12-2010, 10:05 PM
درس Entity Framework في بريزم - بواسطة Moha711 - 25-07-2010, 07:09 PM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم