Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Entityframework one-to-one and RIA Silverlight 5.0 issues.

$
0
0

This is what I have in the data domain service meta.

       <Include()> _   <Composition()> _   <Association("Parent_Child""Parentkey""ChildKey")> _        'PublicProperty Children AsEntityCollection(OfChild) this is one to many.

Public Property Children As Child ' one to one relationship.

In XAML file I did bind parent and childen like this:

Text="{binding path=parentFieldA, mode=twoway}"

Text="{binding path=Children.ChildFieldA, mode=twoway}"

Query in the server side I did put the Include statement Include("Children") as part of it.

============= I S S U E S =================

The Silver application is working well with binding parent (for example display data and make changes to the data).

However, the Silverlight fails on children data. It did not display the data and it won't allow me to edit or change the children data.

Does any one run into this situation?

Is this doable or one-to-one in Silverlight cannot be done?

Do I miss anything ?

Thanks.

   


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>