SqlServerDatabaseCleaner SqlServerDatabaseCleaner Class

Syntax

Declaration

public class SqlServerDatabaseCleaner : RelationalDatabaseCleanerPublic Class SqlServerDatabaseCleaner
    Inherits RelationalDatabaseCleaner

Inheritance Hierarchy

Inherited Members

AcceptTable(TableModel),
AcceptTable(TableModel),
AcceptForeignKey(ForeignKeyModel),
AcceptForeignKey(ForeignKeyModel),
AcceptSequence(SequenceModel),
AcceptSequence(SequenceModel),
BuildCustomSql(DatabaseModel),
BuildCustomSql(DatabaseModel),
Clean(DatabaseFacade),
Clean(DatabaseFacade),
Drop(SequenceModel),
Drop(SequenceModel),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Methods

  • AcceptIndex(IndexModel)
    AcceptIndex(IndexModel)
    protected override bool AcceptIndex(IndexModel index)Protected Overrides Function AcceptIndex(index As IndexModel) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • CreateDatabaseModelFactory(ILoggerFactory)
    CreateDatabaseModelFactory(ILoggerFactory)
    protected override IInternalDatabaseModelFactory CreateDatabaseModelFactory(ILoggerFactory loggerFactory)Protected Overrides Function CreateDatabaseModelFactory(loggerFactory As ILoggerFactory) As IInternalDatabaseModelFactory

    Parameters

    • loggerFactory
      ILoggerFactory
      ILoggerFactory

    Returns

  • Drop(ForeignKeyModel)
    Drop(ForeignKeyModel)
    protected override DropForeignKeyOperation Drop(ForeignKeyModel foreignKey)Protected Overrides Function Drop(foreignKey As ForeignKeyModel) As DropForeignKeyOperation

    Parameters

    Returns

  • Drop(IndexModel)
    Drop(IndexModel)
    protected override DropIndexOperation Drop(IndexModel index)Protected Overrides Function Drop(index As IndexModel) As DropIndexOperation

    Parameters

    Returns

  • Drop(TableModel)
    Drop(TableModel)
    protected override DropTableOperation Drop(TableModel table)Protected Overrides Function Drop(table As TableModel) As DropTableOperation

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.dll