Table of Contents

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
object
YdbOptions
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

BulkCopyType BulkCopyType

Default bulk copy mode for YDB. Default value: ProviderSpecific.

UseParametrizedDecimal bool

Use 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

bool

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Equals(YdbOptions?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(YdbOptions? other)

Parameters

other YdbOptions

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.