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
BulkCopyTypeDefault bulk copy mode, used for SQLite by BulkCopy<T>(DataConnection, IEnumerable<T>) methods, if mode is not specified explicitly. Default value: MultipleRows.
AlwaysCheckDbNull
boolEnables 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
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builder
IdentifierBuilder
Returns
Deconstruct(out BulkCopyType, out bool)
public void Deconstruct(out BulkCopyType BulkCopyType, out bool AlwaysCheckDbNull)
Parameters
BulkCopyType
BulkCopyTypeAlwaysCheckDbNull
bool
Equals(DataProviderOptions<SQLiteOptions>?)
public override sealed bool Equals(DataProviderOptions<SQLiteOptions>? other)
Parameters
other
DataProviderOptions<SQLiteOptions>
Returns
Equals(SQLiteOptions?)
public bool Equals(SQLiteOptions? other)
Parameters
other
SQLiteOptions
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
public override string ToString()
Returns
<Clone>$()
public override DataProviderOptions<SQLiteOptions> <Clone>$()
Returns
Operators
operator ==(SQLiteOptions?, SQLiteOptions?)
public static bool operator ==(SQLiteOptions? left, SQLiteOptions? right)
Parameters
left
SQLiteOptionsright
SQLiteOptions
Returns
operator !=(SQLiteOptions?, SQLiteOptions?)
public static bool operator !=(SQLiteOptions? left, SQLiteOptions? right)
Parameters
left
SQLiteOptionsright
SQLiteOptions