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
BulkCopyTypeBulkCopyTypeDefault bulk copy mode, used for SQLite by BulkCopy<T>(DataConnection, IEnumerable<T>) methods, if mode is not specified explicitly. Default value: MultipleRows.
AlwaysCheckDbNullboolEnables null-value checks during database data mapping even if SQLite reports that column cannot be
NULLto 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
builderIdentifierBuilder
Returns
Deconstruct(out BulkCopyType, out bool)
public void Deconstruct(out BulkCopyType BulkCopyType, out bool AlwaysCheckDbNull)
Parameters
BulkCopyTypeBulkCopyTypeAlwaysCheckDbNullbool
Equals(DataProviderOptions<SQLiteOptions>?)
public override sealed bool Equals(DataProviderOptions<SQLiteOptions>? other)
Parameters
otherDataProviderOptions<SQLiteOptions>
Returns
Equals(SQLiteOptions?)
public bool Equals(SQLiteOptions? other)
Parameters
otherSQLiteOptions
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
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
leftSQLiteOptionsrightSQLiteOptions
Returns
operator !=(SQLiteOptions?, SQLiteOptions?)
public static bool operator !=(SQLiteOptions? left, SQLiteOptions? right)
Parameters
leftSQLiteOptionsrightSQLiteOptions