Table of Contents

Class Annotation

Namespace
LinqToDB.Internal.Infrastructure
Assembly
linq2db.dll

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

This type is typically used by linq2db providers and extensions. It is generally not used in application code.

public class Annotation : IAnnotation
Inheritance
object
Annotation
Implements
Extension Methods

Constructors

Annotation(string, object?)

Initializes a new instance of the Annotation class.

public Annotation(string name, object? value)

Parameters

name string

The key of this annotation.

value object

The value assigned to this annotation.

Properties

Name

Gets the key of this annotation.

public virtual string Name { get; }

Property Value

string

Value

Gets the value assigned to this annotation.

public virtual object? Value { get; }

Property Value

object