Table of Contents

Class SybaseOptions

Namespace
LinqToDB.DataProvider.Sybase
Assembly
linq2db.dll
public sealed record SybaseOptions : DataProviderOptions<SybaseOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<SybaseOptions>>, IEquatable<SybaseOptions>
Inheritance
SybaseOptions
Implements
Inherited Members
Extension Methods

Constructors

SybaseOptions()

public SybaseOptions()

SybaseOptions(BulkCopyType)

public SybaseOptions(BulkCopyType BulkCopyType = BulkCopyType.MultipleRows)

Parameters

BulkCopyType BulkCopyType

Using ProviderSpecific mode with bit and identity fields could lead to following errors:

  • bit: false inserted into bit field for first record even if true provided;
  • identity: bulk copy operation fail with exception: "Bulk insert failed. Null value is not allowed in not null column.". Those are provider bugs and could be fixed in latest versions.

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Equals(SybaseOptions?)

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

public bool Equals(SybaseOptions? other)

Parameters

other SybaseOptions

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 a hash function for a particular type.

public override int GetHashCode()

Returns

int

A hash code for the current object.