Class DataContextOptions
Inheritance
DataContextOptions
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
Fields
|
Improve this Doc
View Source
Empty
Declaration
public static readonly DataContextOptions Empty
Field Value
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
|
Improve this Doc
View Source
Interceptors
Declaration
public IReadOnlyList<IInterceptor>? Interceptors { get; init; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(DataContextOptions?)
Declaration
public bool Equals(DataContextOptions? other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements
Extension Methods