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

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Equals(SQLiteOptions?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SQLiteOptions? other)

Parameters

other SQLiteOptions

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as a hash function for a particular type.

public override int GetHashCode()

Returns

int

A hash code for the current object.