Class YdbOptions
- Namespace
- LinqToDB.DataProvider.Ydb
- Assembly
- linq2db.dll
YDB data provider configuration options.
public sealed record YdbOptions : DataProviderOptions<YdbOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<YdbOptions>>, IEquatable<YdbOptions>
- Inheritance
-
objectYdbOptions
- Implements
- Inherited Members
- Extension Methods
Constructors
YdbOptions()
public YdbOptions()
YdbOptions(BulkCopyType, bool)
YDB data provider configuration options.
public YdbOptions(BulkCopyType BulkCopyType = BulkCopyType.ProviderSpecific, bool UseParametrizedDecimal = true)
Parameters
BulkCopyTypeBulkCopyTypeDefault bulk copy mode for YDB. Default value:
ProviderSpecific.UseParametrizedDecimalboolUse Decimal(p, s) type name instead of Decimal. Default value:
true.
Properties
UseParametrizedDecimal
Use Decimal(p, s) type name instead of Decimal.
Default value: true.
public bool UseParametrizedDecimal { get; init; }
Property Value
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builderIdentifierBuilder
Returns
Equals(YdbOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(YdbOptions? other)
Parameters
otherYdbOptionsAn 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.