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
-
objectAnnotation
- Implements
- Extension Methods
Constructors
Annotation(string, object?)
Initializes a new instance of the Annotation class.
public Annotation(string name, object? value)
Parameters
namestringThe key of this annotation.
valueobjectThe value assigned to this annotation.
Properties
Name
Gets the key of this annotation.
public virtual string Name { get; }
Property Value
Value
Gets the value assigned to this annotation.
public virtual object? Value { get; }
Property Value
- object