Solved

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

Posted on 2010-08-16
1
694 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 29

Accepted Solution

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

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

630 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