RuntimeModelConvention.ProcessPropertyAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
更新將在唯讀物件上設定的屬性批註。
protected virtual void ProcessPropertyAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty runtimeProperty, bool runtime);
abstract member ProcessPropertyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty * bool -> unit
override this.ProcessPropertyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty * bool -> unit
Protected Overridable Sub ProcessPropertyAnnotations (annotations As Dictionary(Of String, Object), property As IProperty, runtimeProperty As RuntimeProperty, runtime As Boolean)
參數
- annotations
- Dictionary<String,Object>
要處理的批註。
- property
- IProperty
來源屬性。
- runtimeProperty
- RuntimeProperty
將包含批註的目標屬性。
- runtime
- Boolean
指出指定的注釋是否為執行時間批註。