Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-08-16
1
Medium Priority
?
702 Views
Last Modified: 2013-11-12
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?
0
Comment
Question by:KiasChaos83
1 Comment
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 2000 total points
ID: 33475076
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question