語言

RelationalRuntimeModelConvention.ProcessPropertyOverridesAnnotations 方法

定義

多載

ProcessPropertyOverridesAnnotations(Dictionary<String,Object>, IRelationalPropertyOverrides, RuntimeRelationalPropertyOverrides, Boolean)

來源:
RelationalRuntimeModelConvention.cs

更新關聯性質會覆蓋只會在唯讀物件上設定的註解。

protected virtual void ProcessPropertyOverridesAnnotations(System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.Internal.IRelationalPropertyOverrides propertyOverrides, Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides runtimePropertyOverrides, bool runtime);
abstract member ProcessPropertyOverridesAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.Internal.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides * bool -> unit
override this.ProcessPropertyOverridesAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.Internal.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides * bool -> unit
Protected Overridable Sub ProcessPropertyOverridesAnnotations (annotations As Dictionary(Of String, Object), propertyOverrides As IRelationalPropertyOverrides, runtimePropertyOverrides As RuntimeRelationalPropertyOverrides, runtime As Boolean)

參數

annotations
Dictionary<String,Object>

需要處理的註解。

propertyOverrides
Microsoft.EntityFrameworkCore.Metadata.Internal.IRelationalPropertyOverrides

原始關聯屬性會被覆蓋。

runtimePropertyOverrides
RuntimeRelationalPropertyOverrides

目標關聯屬性會覆蓋包含註解的設定。

runtime
Boolean

表示所給註解是否為執行時註解。

適用於

ProcessPropertyOverridesAnnotations(Dictionary<String,Object>, IRelationalPropertyOverrides, RuntimeRelationalPropertyOverrides, Boolean)

來源:
RelationalRuntimeModelConvention.cs
來源:
RelationalRuntimeModelConvention.cs
來源:
RelationalRuntimeModelConvention.cs
來源:
RelationalRuntimeModelConvention.cs
來源:
RelationalRuntimeModelConvention.cs

更新關聯性質會覆蓋只會在唯讀物件上設定的註解。

protected virtual void ProcessPropertyOverridesAnnotations(System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides propertyOverrides, Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides runtimePropertyOverrides, bool runtime);
abstract member ProcessPropertyOverridesAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides * bool -> unit
override this.ProcessPropertyOverridesAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides * bool -> unit
Protected Overridable 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

表示所給註解是否為執行時註解。

適用於