DbEntityEntry<TEntity>.Member Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
An object representing the member.
Applies to
Entity Framework