Class MySQLDatabaseFacadeExtensions
MySQL specific extension methods for Microsoft.
Inheritance
System.Object
MySQLDatabaseFacadeExtensions
Namespace: MySql.EntityFrameworkCore.Extensions
Assembly: MySql.EntityFrameworkCore.dll
Version: 9.3.0
Syntax
public static class MySQLDatabaseFacadeExtensions
Methods
IsMySql(DatabaseFacade)
Indicates whether the database provider currently in use is the MySQL provider.
This method can only be used after the Microsoft.
Declaration
public static bool IsMySql(this DatabaseFacade database)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
database | The facade from Microsoft. |
Returns
Type | Description |
---|---|
System. |
true if MySQL is being used; otherwise, false. |