Search Results for

    Show / Hide Table of Contents

    Class DataContextOptions

    Inheritance
    object
    DataContextOptions
    Implements
    IOptionSet
    IConfigurationID
    IEquatable<DataContextOptions>
    Namespace: LinqToDB
    Assembly: linq2db.dll
    Syntax
    public sealed record DataContextOptions : IOptionSet, IConfigurationID, IEquatable<DataContextOptions>

    Constructors

    | Improve this Doc View Source

    DataContextOptions()

    Declaration
    public DataContextOptions()
    | Improve this Doc View Source

    DataContextOptions(int?, IReadOnlyList<IInterceptor>?)

    Declaration
    public DataContextOptions(int? CommandTimeout = null, IReadOnlyList<IInterceptor>? Interceptors = null)
    Parameters
    Type Name Description
    int? CommandTimeout

    The command timeout, or null if none has been set.

    IReadOnlyList<IInterceptor> Interceptors

    Gets Interceptors to use with DataConnection instance.

    Fields

    | Improve this Doc View Source

    Empty

    Declaration
    public static readonly DataContextOptions Empty
    Field Value
    Type Description
    DataContextOptions

    Properties

    | Improve this Doc View Source

    CommandTimeout

    The command timeout, or null if none has been set.

    Declaration
    public int? CommandTimeout { get; init; }
    Property Value
    Type Description
    int?
    | Improve this Doc View Source

    Interceptors

    Gets Interceptors to use with DataConnection instance.

    Declaration
    public IReadOnlyList<IInterceptor>? Interceptors { get; init; }
    Property Value
    Type Description
    IReadOnlyList<IInterceptor>

    Methods

    | Improve this Doc View Source

    Equals(DataContextOptions?)

    Declaration
    public bool Equals(DataContextOptions? other)
    Parameters
    Type Name Description
    DataContextOptions other
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    Object.GetHashCode()

    Implements

    IOptionSet
    IConfigurationID
    System.IEquatable<T>

    Extension Methods

    Sql.IsDistinctFrom<T>(T, T)
    Sql.IsNotDistinctFrom<T>(T, T)
    Map.DeepCopy<T>(T)
    SqlExtensions.In<T>(T, T, T, T)
    SqlExtensions.In<T>(T, T, T)
    SqlExtensions.In<T>(T, params T[])
    SqlExtensions.In<T>(T, IEnumerable<T>)
    SqlExtensions.In<T>(T, IQueryable<T>)
    SqlExtensions.NotIn<T>(T, T, T, T)
    SqlExtensions.NotIn<T>(T, T, T)
    SqlExtensions.NotIn<T>(T, params T[])
    SqlExtensions.NotIn<T>(T, IEnumerable<T>)
    SqlExtensions.NotIn<T>(T, IQueryable<T>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2023 linq2db.com

    Generated by DocFX