RelationalRuntimeModelConvention.ProcessPropertyAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
更新將被設定在唯讀物件上的屬性註解。
protected override void ProcessPropertyAnnotations(System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty runtimeProperty, bool runtime);
override this.ProcessPropertyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty * bool -> unit
Protected Overrides 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
表示所給註解是否為執行時註解。