Object parameter of [Invoke] method, child object property is null but set on client RRS feed

  • Question

  • I have an Entity of type TypeA, and TypeA has a fk relationship with TypeB, so TypeA's metadata has a get; set; for TypeB.

    When I create on the client a TypeA object (typeANew let's say), and populate it's type b property, typeANew.TypeB = new TypeB() { ... etc. ... }, then I call an [Invoke] method on the domain service (LinqToEntitiesDomainService).

    When breaking in the [Invoke] method and looking at the typeANew parameter, the TypeB property is null, even though I created it on the client.  Why is this and what do I need to do to get that to come across?

    Thursday, April 4, 2013 3:17 PM