Table of Contents

Interface IAnnotation

Namespace
Microsoft.EntityFrameworkCore.Infrastructure
Assembly
Microsoft.EntityFrameworkCore.dll

An arbitrary piece of metadata that can be stored on an object that implements IReadOnlyAnnotatable.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

public interface IAnnotation

Remarks

See Implementation of database providers and extensions for more information and examples.

Properties

Name

Gets the key of this annotation.

string Name { get; }

Property Value

string

Value

Gets the value assigned to this annotation.

object? Value { get; }

Property Value

object