SqlServerDatabaseCreatorTest.TestDatabaseCreator SqlServerDatabaseCreatorTest.TestDatabaseCreator Class

Definition

public class TestDatabaseCreator : SqlServerDatabaseCreator, IRelationalDatabaseCreator, IDatabaseCreator, IServiceInjectionSite
Public Class TestDatabaseCreator
    Inherits SqlServerDatabaseCreator
    Implements IRelationalDatabaseCreator, IDatabaseCreator, IServiceInjectionSite
Inheritance
System.ObjectSystem.Object
SqlServerDatabaseCreatorTest.TestDatabaseCreatorSqlServerDatabaseCreatorTest.TestDatabaseCreator
Implements

Constructors

TestDatabaseCreator(ISqlServerConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IModel, IRawSqlCommandBuilder, IExecutionStrategyFactory) TestDatabaseCreator(ISqlServerConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IModel, IRawSqlCommandBuilder, IExecutionStrategyFactory)

public TestDatabaseCreator(ISqlServerConnection connection, IMigrationsModelDiffer modelDiffer, IMigrationsSqlGenerator sqlGenerator, IMigrationCommandExecutor migrationCommandExecutor, IModel model, IRawSqlCommandBuilder rawSqlCommandBuilder, IExecutionStrategyFactory executionStrategyFactory)
Public Sub New(connection As ISqlServerConnection, modelDiffer As IMigrationsModelDiffer, sqlGenerator As IMigrationsSqlGenerator, migrationCommandExecutor As IMigrationCommandExecutor, model As IModel, rawSqlCommandBuilder As IRawSqlCommandBuilder, executionStrategyFactory As IExecutionStrategyFactory)
Parameters
model
IModel IModel

Properties

Connection Connection

Inherited from RelationalDatabaseCreator

ExecutionStrategyFactory ExecutionStrategyFactory

public IExecutionStrategyFactory ExecutionStrategyFactory { get; }
Public ReadOnly Property ExecutionStrategyFactory As IExecutionStrategyFactory

MigrationCommandExecutor MigrationCommandExecutor

Inherited from RelationalDatabaseCreator

Model Model

Inherited from RelationalDatabaseCreator

Methods

Create() Create()

Inherited from SqlServerDatabaseCreator

CreateAsync(CancellationToken) CreateAsync(CancellationToken)

Inherited from SqlServerDatabaseCreator

CreateTables() CreateTables()

Inherited from RelationalDatabaseCreator

CreateTablesAsync(CancellationToken) CreateTablesAsync(CancellationToken)

Inherited from RelationalDatabaseCreator

Delete() Delete()

Inherited from SqlServerDatabaseCreator

DeleteAsync(CancellationToken) DeleteAsync(CancellationToken)

Inherited from SqlServerDatabaseCreator

EnsureCreated() EnsureCreated()

Inherited from RelationalDatabaseCreator

EnsureCreatedAsync(CancellationToken) EnsureCreatedAsync(CancellationToken)

Inherited from RelationalDatabaseCreator

EnsureDeleted() EnsureDeleted()

Inherited from RelationalDatabaseCreator

EnsureDeletedAsync(CancellationToken) EnsureDeletedAsync(CancellationToken)

Inherited from RelationalDatabaseCreator

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

Exists() Exists()

Inherited from SqlServerDatabaseCreator

ExistsAsync(CancellationToken) ExistsAsync(CancellationToken)

Inherited from SqlServerDatabaseCreator

GetCreateTablesCommands() GetCreateTablesCommands()

Inherited from RelationalDatabaseCreator

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

HasTables() HasTables()

Inherited from SqlServerDatabaseCreator

HasTablesAsync(CancellationToken) HasTablesAsync(CancellationToken)

Inherited from SqlServerDatabaseCreator

HasTablesAsyncBase(CancellationToken) HasTablesAsyncBase(CancellationToken)

public Task<bool> HasTablesAsyncBase(CancellationToken cancellationToken = null)
Public Function HasTablesAsyncBase(cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<System.Boolean> System.Threading.Tasks.Task(Of System.Boolean)

HasTablesBase() HasTablesBase()

public bool HasTablesBase()
Public Function HasTablesBase As Boolean
Returns
System.Boolean System.Boolean

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

Explicit Interface Implementations

IServiceInjectionSite.InjectServices(IServiceProvider) Microsoft.EntityFrameworkCore.Internal.IServiceInjectionSite.InjectServices(IServiceProvider)

Inherited from RelationalDatabaseCreator