Class ClickHouseTools
- Namespace
- LinqToDB.DataProvider.ClickHouse
- Assembly
- linq2db.dll
public static class ClickHouseTools
- Inheritance
-
ClickHouseTools
Properties
DefaultBulkCopyType
Default bulk copy mode.
Default value: BulkCopyType.ProviderSpecific
.
[Obsolete("Use ClickHouseOptions.Default.BulkCopyType instead.")]
public static BulkCopyType DefaultBulkCopyType { get; set; }
Property Value
Methods
AsClickHouse<TSource>(ITable<TSource>)
[Sql.QueryExtension(null, Sql.QueryExtensionScope.None, typeof(NoneExtensionBuilder))]
public static IClickHouseSpecificTable<TSource> AsClickHouse<TSource>(this ITable<TSource> table) where TSource : notnull
Parameters
table
ITable<TSource>
Returns
- IClickHouseSpecificTable<TSource>
Type Parameters
TSource
AsClickHouse<TSource>(IQueryable<TSource>)
[Sql.QueryExtension(null, Sql.QueryExtensionScope.None, typeof(NoneExtensionBuilder))]
public static IClickHouseSpecificQueryable<TSource> AsClickHouse<TSource>(this IQueryable<TSource> source) where TSource : notnull
Parameters
source
IQueryable<TSource>
Returns
- IClickHouseSpecificQueryable<TSource>
Type Parameters
TSource
CreateDataConnection(DbConnection, ClickHouseProvider)
public static DataConnection CreateDataConnection(DbConnection connection, ClickHouseProvider provider = ClickHouseProvider.Octonica)
Parameters
connection
DbConnectionprovider
ClickHouseProvider
Returns
CreateDataConnection(DbTransaction, ClickHouseProvider)
public static DataConnection CreateDataConnection(DbTransaction transaction, ClickHouseProvider provider = ClickHouseProvider.Octonica)
Parameters
transaction
DbTransactionprovider
ClickHouseProvider
Returns
CreateDataConnection(string, ClickHouseProvider)
public static DataConnection CreateDataConnection(string connectionString, ClickHouseProvider provider = ClickHouseProvider.Octonica)
Parameters
connectionString
stringprovider
ClickHouseProvider
Returns
GetDataProvider(ClickHouseProvider)
public static IDataProvider GetDataProvider(ClickHouseProvider provider = ClickHouseProvider.Octonica)
Parameters
provider
ClickHouseProvider