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
BulkCopyTypeUsing ProviderSpecific mode with bit and identity fields could lead to following errors:
- bit:
false
inserted into bit field for first record even iftrue
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.
- bit:
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builder
IdentifierBuilder
Returns
Equals(SybaseOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SybaseOptions? other)
Parameters
other
SybaseOptionsAn 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()