Title here
Summary here
Checks if a schema exists. In MySql or MariaDb, use the IfDatabaseExistsTask instead.
public sealed class IfSchemaExistsTask : IfExistsTask, ILoggableTask
public IfSchemaExistsTask()
public IfSchemaExistsTask(string schemaName)
Type | Name | Description |
---|---|---|
string | schemaName |
public override ObjectNameDescriptor ON { get; }
Type | Description |
---|---|
ObjectNameDescriptor |
Ćhecks if the schema exists
public static bool IsExisting(IConnectionManager connectionManager, string schemaName)
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | schemaName | The schema name that you want to check for existence |
Type | Description |
---|---|
bool | True if the schema exists |
Ćhecks if the schema exists
public static bool IsExisting(string schemaName)
Type | Name | Description |
---|---|---|
string | schemaName | The schema name that you want to check for existence |
Type | Description |
---|---|
bool | True if the schema exists |