Class SybaseTools
- Namespace
- LinqToDB.DataProvider.Sybase
- Assembly
- linq2db.dll
public static class SybaseTools
- Inheritance
-
SybaseTools
Properties
DefaultBulkCopyType
Using 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.
[Obsolete("Use SybaseOptions.Default.BulkCopyType instead.")]
public static BulkCopyType DefaultBulkCopyType { get; set; }
Property Value
DetectedProviderName
public static string DetectedProviderName { get; }
Property Value
Methods
CreateDataConnection(DbConnection, string?)
public static DataConnection CreateDataConnection(DbConnection connection, string? providerName = null)
Parameters
connection
DbConnectionproviderName
string
Returns
CreateDataConnection(DbTransaction, string?)
public static DataConnection CreateDataConnection(DbTransaction transaction, string? providerName = null)
Parameters
transaction
DbTransactionproviderName
string
Returns
CreateDataConnection(string, string?)
public static DataConnection CreateDataConnection(string connectionString, string? providerName = null)
Parameters
Returns
GetDataProvider(string?, string?)
public static IDataProvider GetDataProvider(string? providerName = null, string? assemblyName = null)
Parameters
Returns
ResolveSybase(Assembly)
public static void ResolveSybase(Assembly assembly)
Parameters
assembly
Assembly
ResolveSybase(string)
public static void ResolveSybase(string path)
Parameters
path
string