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.
Show: