Link to home
Start Free TrialLog in
Avatar of KiasChaos83
KiasChaos83Flag for Australia

asked on

Add a child class to a domain service POCO in Silverlight RIA

I currently have a class like below
public class Example
{
[Key] public string MyKey { get; set; }
public string SomeValue { get; set; }
public ChildClass MyChild { get; set; }
}
public class ChildClass 
{
public bool IsBool { get; set; }
}

Open in new window


Now if I go and create a domain service for this class it works well. I can access the objects properties from the silverlight application. But when it comes to a datacontext, I am unable to databind to MyChild.IsBool because the MyChild property doesn't exist.

Can anyone shed some light on this problem?
ASKER CERTIFIED SOLUTION
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial