Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DbEntityEntry<TEntity>.Property<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 DbPropertyEntry<TEntity, TProperty> Property<TProperty>(
	string 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<TEntity, TProperty>
An object representing the property.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.