Share via


IConventionAnnotation Interface

Definition

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

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

public interface IConventionAnnotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
type IConventionAnnotation = interface
    interface IAnnotation
Public Interface IConventionAnnotation
Implements IAnnotation
Implements

Remarks

See Model building conventions for more information and examples.

Properties

Name

Gets the key of this annotation.

(Inherited from IAnnotation)
Value

Gets the value assigned to this annotation.

(Inherited from IAnnotation)

Methods

GetConfigurationSource()

Returns the configuration source for this annotation.

Applies to