語言

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

屬性的名稱。

傳回

一個代表該財產的物件。

適用於