DbEntityEntry.Property(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个对象,此对象表示该实体的标量属性或复杂属性。
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
属性的名称。
返回
表示属性的对象。