KiasChaos83
asked on
Add a child class to a domain service POCO in Silverlight RIA
I currently have a class like below
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?
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; }
}
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.