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
BulkCopyTypeBulkCopyTypeUsing ProviderSpecific mode with bit and identity fields could lead to following errors:
- bit:
falseinserted into bit field for first record even iftrueprovided; - 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
builderIdentifierBuilder
Returns
Equals(SybaseOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SybaseOptions? other)
Parameters
otherSybaseOptionsAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()