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.

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Deconstruct(out BulkCopyType)

public void Deconstruct(out BulkCopyType BulkCopyType)

Parameters

BulkCopyType BulkCopyType

Equals(DataProviderOptions<SybaseOptions>?)

public override sealed bool Equals(DataProviderOptions<SybaseOptions>? other)

Parameters

other DataProviderOptions<SybaseOptions>

Returns

bool

Equals(SybaseOptions?)

public bool Equals(SybaseOptions? other)

Parameters

other SybaseOptions

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

<Clone>$()

public override DataProviderOptions<SybaseOptions> <Clone>$()

Returns

DataProviderOptions<SybaseOptions>

Operators

operator ==(SybaseOptions?, SybaseOptions?)

public static bool operator ==(SybaseOptions? left, SybaseOptions? right)

Parameters

left SybaseOptions
right SybaseOptions

Returns

bool

operator !=(SybaseOptions?, SybaseOptions?)

public static bool operator !=(SybaseOptions? left, SybaseOptions? right)

Parameters

left SybaseOptions
right SybaseOptions

Returns

bool