Table of Contents

Class OracleOptions

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

Constructors

OracleOptions()

public OracleOptions()

OracleOptions(BulkCopyType, AlternativeBulkCopy, bool)

public OracleOptions(BulkCopyType BulkCopyType = BulkCopyType.MultipleRows, AlternativeBulkCopy AlternativeBulkCopy = AlternativeBulkCopy.InsertAll, bool DontEscapeLowercaseIdentifiers = false)

Parameters

BulkCopyType BulkCopyType

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

AlternativeBulkCopy AlternativeBulkCopy

Defines type of multi-row INSERT operation to generate for RowByRow bulk copy mode.

DontEscapeLowercaseIdentifiers bool

Gets or sets flag to tell LinqToDB to quote identifiers, if they contain lowercase letters. Default value: false. This flag is added for backward compatibility and not recommended for use with new applications.

Properties

AlternativeBulkCopy

Defines type of multi-row INSERT operation to generate for RowByRow bulk copy mode.

public AlternativeBulkCopy AlternativeBulkCopy { get; init; }

Property Value

AlternativeBulkCopy

DontEscapeLowercaseIdentifiers

Gets or sets flag to tell LinqToDB to quote identifiers, if they contain lowercase letters. Default value: false. This flag is added for backward compatibility and not recommended for use with new applications.

public bool DontEscapeLowercaseIdentifiers { get; init; }

Property Value

bool

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Equals(OracleOptions?)

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

public bool Equals(OracleOptions? other)

Parameters

other OracleOptions

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.