Class MySQLMigrationBuilderExtensions
MySQL extension methods for Microsoft.
Inheritance
System.Object
MySQLMigrationBuilderExtensions
Namespace: MySql.EntityFrameworkCore.Extensions
Assembly: MySql.EntityFrameworkCore.dll
Version: 9.3.0
Syntax
public static class MySQLMigrationBuilderExtensions
Methods
IsMySql(MigrationBuilder)
Indicates whether the database provider currently in use is the MySQL provider.
Declaration
public static bool IsMySql(this MigrationBuilder migrationBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
migrationBuilder | The migrationBuilder from the parameters on Microsoft. |
Returns
Type | Description |
---|---|
System. |
true if MySQL is being used; otherwise, false. |