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
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builderIdentifierBuilder
Returns
Equals(SQLiteOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SQLiteOptions? other)
Parameters
otherSQLiteOptionsAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()