Is there a way to get the "FromProperty" of the System.Data.Metadata.Edm.NavigationProperty?

Posted by Ray on Stack Overflow See other posts from Stack Overflow or by Ray
Published on 2010-05-28T03:27:10Z Indexed on 2010/05/28 3:31 UTC
Read the original article Hit count: 253

Filed under:
|
|
|

On EF4: e.g: I have a SystemRole entityType that has a SystemUsers navigation property, and SystemUser entityType has a SystemRoles navigation property, the association is from SystemRole.SystemRoleId to SystemUser.SystemUserId.

My question is: Is there a way to get the "SystemRole.SystemRoleId" & "SystemUser.SystemUserId" from the specified navigation property?

© Stack Overflow or respective owner

Related posts about c#

Related posts about entity-framework