Table of Contents

Class DB2Options

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

Constructors

DB2Options()

public DB2Options()

DB2Options(BulkCopyType, DB2IdentifierQuoteMode)

public DB2Options(BulkCopyType BulkCopyType = BulkCopyType.MultipleRows, DB2IdentifierQuoteMode IdentifierQuoteMode = DB2IdentifierQuoteMode.Auto)

Parameters

BulkCopyType BulkCopyType

Default bulk copy mode, used for DB2 by BulkCopy<T>(DataConnection, IEnumerable<T>) methods, if mode is not specified explicitly. Default value: MultipleRows.

IdentifierQuoteMode DB2IdentifierQuoteMode

Identifier quotation logic for SQL generation. Default value: Auto.

Properties

IdentifierQuoteMode

Identifier quotation logic for SQL generation. Default value: Auto.

public DB2IdentifierQuoteMode IdentifierQuoteMode { get; init; }

Property Value

DB2IdentifierQuoteMode

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Equals(DB2Options?)

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

public bool Equals(DB2Options? other)

Parameters

other DB2Options

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.