语言

DbEntityEntry.Property(String) 方法

定义

获取表示此实体的标量或复杂属性的对象。

public System.Data.Entity.Infrastructure.DbPropertyEntry Property(string propertyName);
member this.Property : string -> System.Data.Entity.Infrastructure.DbPropertyEntry
Public Function Property (propertyName As String) As DbPropertyEntry

参数

propertyName
String

属性的名称。

返回

一个表示属性的对象。

适用于