Table of Contents

Class SQLiteOptions

Namespace
LinqToDB.DataProvider.SQLite
Assembly
linq2db.dll
public sealed record SQLiteOptions : DataProviderOptions<SQLiteOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<SQLiteOptions>>, IEquatable<SQLiteOptions>
Inheritance
SQLiteOptions
Implements
Inherited Members
Extension Methods

Constructors

SQLiteOptions()

public SQLiteOptions()

SQLiteOptions(BulkCopyType, bool)

public SQLiteOptions(BulkCopyType BulkCopyType = BulkCopyType.MultipleRows, bool AlwaysCheckDbNull = true)

Parameters

BulkCopyType BulkCopyType

Default bulk copy mode, used for SQLite by BulkCopy<T>(DataConnection, IEnumerable<T>) methods, if mode is not specified explicitly. Default value: MultipleRows.

AlwaysCheckDbNull bool

Enables null-value checks during database data mapping even if SQLite reports that column cannot be NULL to avoid NullReferenceException on mapping when database reports nullability incorrectly. Default value: true.

Properties

AlwaysCheckDbNull

Enables null-value checks during database data mapping even if SQLite reports that column cannot be NULL to avoid NullReferenceException on mapping when database reports nullability incorrectly. Default value: true.

public bool AlwaysCheckDbNull { get; init; }

Property Value

bool

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Deconstruct(out BulkCopyType, out bool)

public void Deconstruct(out BulkCopyType BulkCopyType, out bool AlwaysCheckDbNull)

Parameters

BulkCopyType BulkCopyType
AlwaysCheckDbNull bool

Equals(DataProviderOptions<SQLiteOptions>?)

public override sealed bool Equals(DataProviderOptions<SQLiteOptions>? other)

Parameters

other DataProviderOptions<SQLiteOptions>

Returns

bool

Equals(SQLiteOptions?)

public bool Equals(SQLiteOptions? other)

Parameters

other SQLiteOptions

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

<Clone>$()

public override DataProviderOptions<SQLiteOptions> <Clone>$()

Returns

DataProviderOptions<SQLiteOptions>

Operators

operator ==(SQLiteOptions?, SQLiteOptions?)

public static bool operator ==(SQLiteOptions? left, SQLiteOptions? right)

Parameters

left SQLiteOptions
right SQLiteOptions

Returns

bool

operator !=(SQLiteOptions?, SQLiteOptions?)

public static bool operator !=(SQLiteOptions? left, SQLiteOptions? right)

Parameters

left SQLiteOptions
right SQLiteOptions

Returns

bool