Share via


Annotation(String, Object) Constructor

Definition

Initializes a new instance of the Annotation class.

public Annotation (string name, object value);
public Annotation (string name, object? value);
new Microsoft.EntityFrameworkCore.Infrastructure.Annotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Public Sub New (name As String, value As Object)

Parameters

name
String

The key of this annotation.

value
Object

The value assigned to this annotation.

Applies to