I'm using Ria service class library. This contains 2 library named RiaClasslibrary
RiaClasslibrary.Web
.
Riaclasslibrary.Web
contains ADO.NET entity data model
and named BaseModel
. BaseModel
contains tPage
class.
My problem is
I'm inserting separated tPage
class. This class contains 2 public property. show below
public sealed partial class tPage : EntityObject
{
public List<tPage> Children { get; set; }
public tPage Parent { get; set; }
public Boolean IsSelected { get; set; }
}
After I'm inserting DomainService and building RiaClasslibrary.Web
class library. But ria service generated code doesn't contains above properties.
You have a question. Why you separate tPage
class. You simply insert those 3 property in Modelbase.Designer
code.
My answer is: Database doesn't contain those 3 property and If I'm inserting properties in the code, properties removed after updating Entity Model.