Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbEntityEntry<TEntity>::Member Method

 

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

NameDescription
System_CAPS_pubmethodMember(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.

System_CAPS_pubmethodMember<TMember>(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<TEntity, TProperty>. Collection navigation property: DbCollectionEntry<TEntity, TElement>. Primitive/scalar property: DbPropertyEntry<TEntity, TProperty>. Complex property: DbComplexPropertyEntry<TEntity, TComplexProperty>.

Return to top

DbEntityEntry<TEntity>::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.

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

DbEntityEntry<TEntity>::Member<TMember> 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<TEntity, TProperty>. Collection navigation property: DbCollectionEntry<TEntity, TElement>. Primitive/scalar property: DbPropertyEntry<TEntity, TProperty>. Complex property: DbComplexPropertyEntry<TEntity, TComplexProperty>.

public:
generic<typename TMember>
DbMemberEntry<TEntity, TMember>^ Member(
	String^ propertyName
)

Parameters

propertyName
Type: System::String^

The name of the member.

Return Value

Type: System.Data.Entity.Infrastructure::DbMemberEntry<TEntity, TMember>^

An object representing the member.

Type Parameters

TMember

The type of the member.

Return to top
Show: