This question is locked. New answers and comments are not allowed.
Hi,
I've a 1-to-many relationship between A and B tabble, A contains a Property Be that get B associated, and B contains As property that get a Collection<A>.
I used the "OpenAccess Service" Wizard to create a WCF plain service, but in client when access a NavigationProperty from a Collection, return null.
Reading this http://www.telerik.com/help/openaccess-orm/developer-guide-wcfservices-plain-service-handle-relationships.html I can get the A.Be return B, but B.As return null;
overrriding Assemble for B-class in Assemble.cs, and adding AssembleNavigational to Bdto BAssemble(B), causes a StackOverflowException, because B.AssembleCollections refer A.Assemble and A.Assemble refer B.Assemble.
It's a loop!!!
Sorry for english
I've a 1-to-many relationship between A and B tabble, A contains a Property Be that get B associated, and B contains As property that get a Collection<A>.
I used the "OpenAccess Service" Wizard to create a WCF plain service, but in client when access a NavigationProperty from a Collection, return null.
Reading this http://www.telerik.com/help/openaccess-orm/developer-guide-wcfservices-plain-service-handle-relationships.html I can get the A.Be return B, but B.As return null;
overrriding Assemble for B-class in Assemble.cs, and adding AssembleNavigational to Bdto BAssemble(B), causes a StackOverflowException, because B.AssembleCollections refer A.Assemble and A.Assemble refer B.Assemble.
It's a loop!!!
Sorry for english