Table of Contents

Interface IAnnotatableBuilderInternal

Namespace
LinqToDB.Internal.Linq.Builder
Assembly
linq2db.dll

Internal extension surface for fluent builders that carry an annotation bag. Provider-specific extension methods under LinqToDB reach the annotations through this interface instead of downcasting to the concrete builder implementation, keeping third-party extension authoring symmetric with in-box extensions.

public interface IAnnotatableBuilderInternal
Extension Methods

Methods

SetAnnotation(string, object?)

Sets an annotation on the object being built. Keys should come from a well-known names class (e.g. CteAnnotationNames); values should be primitives that serialize cleanly and hash stably.

void SetAnnotation(string name, object? value)

Parameters

name string
value object