How to add model entity property in WCF RIA service
Posted
by
Oblomingo
on Stack Overflow
See other posts from Stack Overflow
or by Oblomingo
Published on 2014-08-24T08:42:52Z
Indexed on
2014/08/24
16:20 UTC
Read the original article
Hit count: 174
I'm developing silverlight app with WCF Ria service. I'm using MS SQL database and Entity Framework as ORM framework (Database first method). Model with domain service are in separate project - App1.Data. Silverlight and generated model proxy classes are in App1 project.
I want to add property to model entity class EntityClass to get this property on client side.
So I did it that way - added this class to project App1.Data:
public partial class EntityClass
{
[DataMember]
public List<EntityClass2> PropertyName {get; set;}
}
After rebuilding EntityClass proxy on client side doesn't have this new property. Where is my mistake?
© Stack Overflow or respective owner