Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Property(TProperty) Method (String)

DbEntityEntry(Of TEntity).Property(Of TProperty) Method (String)

Entity Framework 5.0

Gets an object that represents a scalar or complex property of this entity.

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

Public Function Property(Of TProperty) ( _
	propertyName As String _
) As DbPropertyEntry(Of TEntity, TProperty)
Dim instance As DbEntityEntry 
Dim propertyName As String 
Dim returnValue As DbPropertyEntry(Of TEntity, TProperty)

returnValue = instance.Property(propertyName)

Type Parameters


The type of the property.


Type: System.String

The name of the property.

Return Value

Type: System.Data.Entity.Infrastructure.DbPropertyEntry(Of TEntity, TProperty)
An object representing the property.
© 2015 Microsoft