語言

RuntimeProperty.IReadOnlyProperty.IsAutoLoaded 屬性

定義

會取得一個值,表示當從資料庫查詢實體時,該屬性是否會自動載入。 當設定為 false時,屬性值不會從資料庫讀取,且該屬性會被排除在 UPDATE 語句中,除非明確載入或修改。

bool Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsAutoLoaded { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsAutoLoaded : bool
 ReadOnly Property IsAutoLoaded As Boolean Implements IReadOnlyProperty.IsAutoLoaded

屬性值

實作

屬性

適用於