Table of Contents

Namespace LinqToDB.Common

Classes

Array<T>

Empty array instance helper.

Compilation

Contains LINQ expression compilation options.

Configuration

Contains global linq2db settings.

Configuration.Data
Configuration.Linq

LINQ query settings.

Configuration.LinqService

Linq over WCF global settings.

Configuration.RetryPolicy

Retry policy global settings.

Configuration.Sql

SQL generation global settings.

Configuration.SqlServer

SqlServer specific global settings.

ConvertBuilder
ConvertTo<TTo>

Value converter to TTo type.

Convert<TFrom, TTo>

Converters provider for value conversion from TFrom to TTo type.

Converter

Type conversion manager.

DefaultValue

Default value provider. Default value used for mapping from NULL database value to C# value.

DefaultValue<T>

Default value provider for specific type. Default value used for mapping from NULL database value to C# value.

EnumerableHelper
LinqToDBConvertException

Defines the base class for the namespace exceptions.

MemberInfoEqualityComparer
OptionsContainer<T>

Base class for options.

StringBuilderExtensions
Tools

Various general-purpose helpers.

TypeHelper
Utils
Utils.ObjectReferenceEqualityComparer<T>
ValueConverterFunc<TModel, TProvider>
ValueConverter<TModel, TProvider>

Structs

DbDataType

Stores database type attributes.

Option<T>

Option type implementation. Option type.

RawSqlString

A string representing a raw SQL query. This type enables overload resolution between the regular and interpolated FromSql<TEntity>(IDataContext, RawSqlString, params object?[]).

Interfaces

IOptionSet

Interface for extensions that are stored in OptionSets.

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

IValueConverter

Defines conversions from an object of one type in a model to an object of the same or different type in the database.

Enums

ConversionType

Defines conversion type such as to database / from database conversion direction.