views:

25

answers:

0

I've got an application set up with RIA Services, Entity Framework 4, and Silverlight 4. It is set up in the standard fashion prescribed on MSDN here: Walkthrough: Creating a RIA Services Solution

I've written a new method (or property) against one of the entity objects which resides on the server; I would like this method (or property) to also be generated (automagically) on the client. i.e.

  • I have a table in my database called Customer which has two fields: FirstName and LastName
  • (ASP.NET project - server side) EF has created a corresponding partial class called Protocol that has two properties: FirstName and LastName
  • (ASP.NET project - server side) In another file, I'm using the partial class mechanism to define a method (or property) to return the FirstName and LastName together in a string, e.g.
    • public function ReturnFullName() as String ...
    • public property FullName() as String ...

Is there a way for ReturnFullName() and FullName() to be generated in on the client side (my Silverlight application)? Or do I have to implement the method / property on the client side as well?