silverlightsilverlight-3.0

How to create a custom field when using WCF RIA?


I have a table with "first name" and "last name". When binding to a datagrid I need to have a column named "name", which is "first name" + SPACE + "last name".

I am using a DomainDataSource tag in XAML, is there any method to bind a column "first name" + SPACE + "last name"?

Is there any method like defining a class to have for the table in EDMX?

Public string fullname { get { return firstName+"_"+lastName; } }

Thanks.


Solution

  • Finally, I added a xxxxx.shared.cs to added a column to return to client side.