Class MySqlTools
- Namespace
- LinqToDB.DataProvider.MySql
- Assembly
- linq2db.dll
public static class MySqlTools
- Inheritance
-
MySqlTools
Properties
[Obsolete("Use MySqlOptions.Default.BulkCopyType instead.")]
public static BulkCopyType DefaultBulkCopyType { get; set; }
Property Value
- BulkCopyType
public static string DetectedProviderName { get; }
Property Value
- string
Methods
[Sql.QueryExtension(null, Sql.QueryExtensionScope.None, typeof(NoneExtensionBuilder))]
public static IMySqlSpecificTable<TSource> AsMySql<TSource>(this ITable<TSource> table) where TSource : notnull
Parameters
table
ITable<TSource>
Returns
- IMySqlSpecificTable<TSource>
Type Parameters
TSource
[Sql.QueryExtension(null, Sql.QueryExtensionScope.None, typeof(NoneExtensionBuilder))]
public static IMySqlSpecificQueryable<TSource> AsMySql<TSource>(this IQueryable<TSource> source) where TSource : notnull
Parameters
source
IQueryable<TSource>
Returns
- IMySqlSpecificQueryable<TSource>
Type Parameters
TSource
public static DataConnection CreateDataConnection(DbConnection connection, string? providerName = null)
Parameters
connection
DbConnection
providerName
string
Returns
- DataConnection
public static DataConnection CreateDataConnection(DbTransaction transaction, string? providerName = null)
Parameters
transaction
DbTransaction
providerName
string
Returns
- DataConnection
public static DataConnection CreateDataConnection(string connectionString, string? providerName = null)
Parameters
connectionString
string
providerName
string
Returns
- DataConnection
public static IDataProvider GetDataProvider(string? providerName = null)
Parameters
providerName
string
Returns
- IDataProvider
public static void ResolveMySql(Assembly assembly)
Parameters
assembly
Assembly
public static void ResolveMySql(string path, string? assemblyName)
Parameters
path
string
assemblyName
string