DbEntityEntry<TEntity>.Member Method

Definition

Overloads

Member(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.

Member<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>.

Member(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 System.Data.Entity.Infrastructure.DbMemberEntry Member (string propertyName);
member this.Member : string -> System.Data.Entity.Infrastructure.DbMemberEntry
Public Function Member (propertyName As String) As DbMemberEntry

Parameters

propertyName
String

The name of the member.

Returns

An object representing the member.

Applies to

Member<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>.

public System.Data.Entity.Infrastructure.DbMemberEntry<TEntity,TMember> Member<TMember> (string propertyName);
member this.Member : string -> System.Data.Entity.Infrastructure.DbMemberEntry<'Entity, 'Member (requires 'Entity : null)>
Public Function Member(Of TMember) (propertyName As String) As DbMemberEntry(Of TEntity, TMember)

Type Parameters

TMember

The type of the member.

Parameters

propertyName
String

The name of the member.

Returns

DbMemberEntry<TEntity,TMember>

An object representing the member.

Applies to