views:

21

answers:

0

Hello, I am currently using RIA services with an object containing a child containing itself a child and it's not working :-( !

I have an update method for the BaseObject and the FirstChild are correctly present in the client but it behaves as if I have no SecondChild object (the type is not event created on the client)...

Here are the classes:

[MetadataType(typeof(BaseObjectMetaData))]
public partial class BaseObject 
{ 
    internal class BaseObjectMetaData
    {
        [Include, Composition]
        EntityCollection<FirstChild> FirstChilds { get; set; }
    }
}

[MetadataType(typeof(FirstChildMetaData))]
public partial class FirstChild: 
{
    internal class FirstChildMetaData
    {
        [Include, Composition]
        EntityCollection<SencondChild> SecondChilds { get; set; }
    }
}