Could somebody help me with the System.InvalidOperationException with the
message below inside the generated client code of my Silverlight RIA
services:-
This EntityContainer does not contain an EntitySet of type
'Deintegro.DAL.Data.Title'. If the type is external to this EntityContainer,
please
Hi Shingi,
It sounds like the object does not exist within the generated code within the
Silverlight component.
This means that the object is not shared properly from the web app.
There are a number of reasons for this - perhaps you don't have an
[EnableClientAccess] attribute
on your class?
Have you done a clean solution lately? Sometimes the generated code gets out
of sync with the original, and the only way to get it to regenerate is to
clean first.
T.
From: ozsilverlight-boun...@ozsilverlight.com
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Shingi
Mutandwa
Also try deleting the Generated_Code folder from under your Silverlight
project's folder. That forces the client side regeneration (which I've
personally found more reliable than cleaning / rebuilding the solution).
Chris
On 12 August 2010 19:27, Tony Wright ton...@tpg.com.au wrote:
Have
The EDMX and the RIA services are in different projects and therefore the
“Generate metadata” checkbox is disabled when generating the domain service
in Visual Studio. However we created a partial class in the same project
containing the EDMX and applied the [include] attr like so:-