Compartir a través de


IReadOnlyAnnotatable Interface

Definition

A class that supports annotations. Annotations allow for arbitrary metadata to be stored on an object.

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

public interface IReadOnlyAnnotatable
type IReadOnlyAnnotatable = interface
Public Interface IReadOnlyAnnotatable
Derived

Remarks

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

Properties

Item[String]

Gets the value of the annotation with the given name, returning null if it does not exist.

Methods

AnnotationsToDebugString(Int32)

Gets the debug string for all annotations declared on the object.

FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

GetAnnotation(String)

Gets the annotation with the given name, throwing if it does not exist.

GetAnnotations()

Gets all annotations on the current object.

Applies to