Class FirebirdOptions
- Namespace
- LinqToDB.DataProvider.Firebird
- Assembly
- linq2db.dll
public sealed record FirebirdOptions : DataProviderOptions<FirebirdOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<FirebirdOptions>>, IEquatable<FirebirdOptions>
- Inheritance
-
objectFirebirdOptions
- Implements
- Inherited Members
- Extension Methods
Constructors
FirebirdOptions()
public FirebirdOptions()
FirebirdOptions(BulkCopyType, FirebirdIdentifierQuoteMode, bool)
public FirebirdOptions(BulkCopyType BulkCopyType = BulkCopyType.MultipleRows, FirebirdIdentifierQuoteMode IdentifierQuoteMode = FirebirdIdentifierQuoteMode.Auto, bool IsLiteralEncodingSupported = true)
Parameters
BulkCopyTypeBulkCopyTypeDefault bulk copy mode, used for Firebird by BulkCopy<T>(IDataContext, IEnumerable<T>) methods, if mode is not specified explicitly. Default value: MultipleRows.
IdentifierQuoteModeFirebirdIdentifierQuoteModeSpecifies how identifiers like table and field names should be quoted.
Default value: Auto. IsLiteralEncodingSupportedboolSpecifies that Firebird supports literal encoding. Available from version 2.5 and could be used for Dialect 1 databases.
Properties
IdentifierQuoteMode
Specifies how identifiers like table and field names should be quoted.
public FirebirdIdentifierQuoteMode IdentifierQuoteMode { get; init; }
Property Value
IsLiteralEncodingSupported
Specifies that Firebird supports literal encoding. Available from version 2.5 and could be used for Dialect 1 databases.
public bool IsLiteralEncodingSupported { get; init; }
Property Value
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builderIdentifierBuilder
Returns
Equals(FirebirdOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(FirebirdOptions? other)
Parameters
otherFirebirdOptionsAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.