Class DuckDBOptions
- Namespace
- LinqToDB.DataProvider.DuckDB
- Assembly
- linq2db.dll
DuckDB data provider configuration options.
public sealed record DuckDBOptions : DataProviderOptions<DuckDBOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<DuckDBOptions>>, IEquatable<DuckDBOptions>
- Inheritance
-
objectDuckDBOptions
- Implements
- Inherited Members
- Extension Methods
Constructors
DuckDBOptions()
public DuckDBOptions()
DuckDBOptions(BulkCopyType)
DuckDB data provider configuration options.
public DuckDBOptions(BulkCopyType BulkCopyType = BulkCopyType.ProviderSpecific)
Parameters
BulkCopyTypeBulkCopyTypeDefault bulk copy mode for DuckDB. Default value:
ProviderSpecific. Uses native DuckDB Appender for best performance with automatic fallback to MultipleRows when the table has unmapped columns or identity columns with nextval() defaults.
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builderIdentifierBuilder
Returns
Equals(DuckDBOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DuckDBOptions? other)
Parameters
otherDuckDBOptionsAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.