RelationalDatabaseCreator
RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)
Dependencies
CanConnect()
CanConnectAsync(CancellationToken)
Create()
CreateAsync(CancellationToken)
CreateTables()
CreateTablesAsync(CancellationToken)
Delete()
DeleteAsync(CancellationToken)
EnsureCreated()
EnsureCreatedAsync(CancellationToken)
EnsureDeleted()
EnsureDeletedAsync(CancellationToken)
Exists()
ExistsAsync(CancellationToken)
GenerateCreateScript()
GetCreateTablesCommands(MigrationsSqlGenerationOptions)
HasTables()
HasTablesAsync(CancellationToken)
net11.0
namespace Microsoft.EntityFrameworkCore.Storage
{
public abstract class RelationalDatabaseCreator : IDatabaseCreator, IRelationalDatabaseCreator
{
[AsyncStateMachine(typeof(<CanConnectAsync>d__21))]
public virtual Task<bool>! CanConnectAsync(CancellationToken cancellationToken = default);
}
}
| .NET | 10.011.0 |
|---|---|
Information specific to net11.0 | |
| Assemblies | Microsoft.EntityFrameworkCore.Relational , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.EntityFrameworkCore.Relational , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational (11.0.0-preview.2.26159.112) net11.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API