RuntimeModelConvention.ProcessPropertyAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the property annotations that will be set on the read-only object.
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)
Parameters
- annotations
- Dictionary<String,Object>
The annotations to be processed.
- property
- IProperty
The source property.
- runtimeProperty
- RuntimeProperty
The target property that will contain the annotations.
- runtime
- Boolean
Indicates whether the given annotations are runtime annotations.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework