This question is locked. New answers and comments are not allowed.
Dear All,
I have two questions:
1- Is there an automated way to create the meta-data class for OA domain model?
2- How to convert the self-reference relation from EF to OA; I have tried this and i want to make sure it is correct:
I have created an Association on the table as follows:
Parent : Type of the table
Children IList<table> and I got then generated at the class.
But I can't see how to access it like EF doing the following:
Any help !!
Best
I have two questions:
1- Is there an automated way to create the meta-data class for OA domain model?
2- How to convert the self-reference relation from EF to OA; I have tried this and i want to make sure it is correct:
I have created an Association on the table as follows:
Parent : Type of the table
Children IList<table> and I got then generated at the class.
But I can't see how to access it like EF doing the following:
public
IQueryable<group> GetChildrenByParentID(
int
ID)
{
return
this
.ObjectContext.group.Include(
"Children"
).Where(p => p.id == ID);
}
Any help !!
Best