When create .NET Ria Service Class Library, VS will create two projects: MyRiaServices(client side) MyRiaServices.Web(server side)
Suppose my entity model is in another project: MyData(entity framework)
There is an Entity People.
Then I want to use partial class to extend this entity in following way:
namespace MyData
{
public partial class Person
{
//....
}
}
If I do it in project MyData, it is fine.
But I want to do this way in project MyRiaServices.Web so that I can named the file as as person.shared.cs, but I failed. It give me error saying class definition conflict etc.
How to resolve this problem?