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

属性的名称。

返回

表示属性的对象。

适用于