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