What is the best way to access a remote object model over WCF?
I have one system layer (A) with an object-oriented model and want to access this model from another layer (B)
The required objects should be loaded by B on-demand. As an example, suppose I have classes C1 and C2 with C1 holding a List of C2. This list should be loaded only when it is accessed.
Since data contracts cannot hold operation contracts, I would implement this with one service contract with two methods "getC1" and "getListC2(C1)"
But, what I actually want is to access an object-oriented model, e.g. call a function on C1: C1.getListC2
How can I work with WCF in a more object-oriented way?