11-08-2010, 03:03 PM
(آخر تعديل لهذه المشاركة: 11-08-2010, 03:22 PM بواسطة زكيري عبدالعالي.)
وجدت الحل هنا
إقتباس : 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="data source=.;initial catalog=phoenix;integrated security=true;multipleactiveresultsets=true"" 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 " 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"}

