I've generated data model(Entity framework) with foreign keys. It was data model generated from database. After that everything has worked, navigation and etc. Next I have generated a Self-Tracking entity. Unfortunately I lost navigation feature. For example this query is not working now:
public int GetUserTagsNumber( SessionContainer inputData ) {
return db.User_t.Single(x => x.pid == inputData.Pid).Tag_t.Count();
}
I'm new in Self-tracking entities and wcf. So, my questions are:
Why the navigation is not working also on service side?
If it is ok, then for what the navigation properties are visible?