DbEntityEntry.Member Method (String)
Gets an object that represents a member of the entity. The runtime type of the returned object will vary depending on what kind of member is asked for. The currently supported member types and their return types are: Reference navigation property: DbReferenceEntry. Collection navigation property: DbCollectionEntry. Primitive/scalar property: DbPropertyEntry. Complex property: DbComplexPropertyEntry.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- propertyName
-
Type:
System.String
The name of the member.
Return Value
Type: System.Data.Entity.Infrastructure.DbMemberEntryAn object representing the member.