Export (0) Print
Expand All

DbEntityEntry(Of TEntity).Member(Of TMember) Method (String)

Entity Framework 5.0

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

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

'Declaration
Public Function Member(Of TMember) ( _
	propertyName As String _
) As DbMemberEntry(Of TEntity, TMember)
'Usage
Dim instance As DbEntityEntry 
Dim propertyName As String 
Dim returnValue As DbMemberEntry(Of TEntity, TMember)

returnValue = instance.Member(propertyName)

Type Parameters

TMember

The type of the member.

Parameters

propertyName
Type: System.String

The name of the member.

Return Value

Type: System.Data.Entity.Infrastructure.DbMemberEntry(Of TEntity, TMember)
An object representing the member.
Show:
© 2015 Microsoft