Add a Property to Entity Class in ViewModel
问题 I have a profile with a EntityCollection of ProfileUser. In this Class I have a Profile_ID ald a Profile relation and a User_ID but no USer relation, because User is in another Database. In a Datagrid I want to access via User.Username I tried this, but ofc it doesnt work... public EntityCollection<ProfileUser> ProfileUsers { get { if (profile != null) return profile.ProfileUser; else return null; } set { profile.ProfileUser = value; } } and here my custom Class public class