Delen via


Annotation Class

Definition

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

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

public class Annotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
type Annotation = class
    interface IAnnotation
Public Class Annotation
Implements IAnnotation
Inheritance
Annotation
Implements

Remarks

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

Constructors

Annotation(String, Object)

Initializes a new instance of the Annotation class.

Properties

Name

Gets the key of this annotation.

Value

Gets the value assigned to this annotation.

Applies to