Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Member Method

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.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public DbMemberEntry Member(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the member.

Return Value

Type: System.Data.Entity.Infrastructure.DbMemberEntry

An object representing the member.

Return to top
Show:
© 2015 Microsoft