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)

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

returnValue = instance.Property(propertyName)

Type Parameters

TProperty

The type of the property.

Parameters

propertyName
Type: System.String

The name of the property.

Return Value

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