Method DetectDialect
- Namespace
- IntentSharp.Data
- Assembly
- IntentSharp.dll
DetectDialect(DbConnection)
The dialect named by the connection's type: the first of Sqlite, MySql, SqlClient, Npgsql
and Oracle that the full type name contains, else "SQL". MySql is tested before SqlClient
because the MySql.Data connection is MySql.Data.MySqlClient.MySqlConnection.
public static string DetectDialect(DbConnection connection)
Parameters
connectionDbConnection
Returns
- string