RelationalDatabaseCleaner RelationalDatabaseCleaner Class

Syntax

Declaration

public abstract class RelationalDatabaseCleanerPublic MustInherit Class RelationalDatabaseCleaner

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalDatabaseCleaner
    RelationalDatabaseCleaner

Inherited Members

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

  • AcceptForeignKey(ForeignKeyModel)
    AcceptForeignKey(ForeignKeyModel)
    protected virtual bool AcceptForeignKey(ForeignKeyModel foreignKey)Protected Overridable Function AcceptForeignKey(foreignKey As ForeignKeyModel) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • AcceptIndex(IndexModel)
    AcceptIndex(IndexModel)
    protected virtual bool AcceptIndex(IndexModel index)Protected Overridable Function AcceptIndex(index As IndexModel) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • AcceptSequence(SequenceModel)
    AcceptSequence(SequenceModel)
    protected virtual bool AcceptSequence(SequenceModel sequence)Protected Overridable Function AcceptSequence(sequence As SequenceModel) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • AcceptTable(TableModel)
    AcceptTable(TableModel)
    protected virtual bool AcceptTable(TableModel table)Protected Overridable Function AcceptTable(table As TableModel) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • BuildCustomEndingSql(DatabaseModel)
    BuildCustomEndingSql(DatabaseModel)
    protected virtual string BuildCustomEndingSql(DatabaseModel databaseModel)Protected Overridable Function BuildCustomEndingSql(databaseModel As DatabaseModel) As String

    Parameters

    Returns

    • System.String
      System.String
  • BuildCustomSql(DatabaseModel)
    BuildCustomSql(DatabaseModel)
    protected virtual string BuildCustomSql(DatabaseModel databaseModel)Protected Overridable Function BuildCustomSql(databaseModel As DatabaseModel) As String

    Parameters

    Returns

    • System.String
      System.String
  • Clean(DatabaseFacade)
    Clean(DatabaseFacade)
    public virtual void Clean(DatabaseFacade facade)Public Overridable Sub Clean(facade As DatabaseFacade)

    Parameters

  • CreateDatabaseModelFactory(ILoggerFactory)
    CreateDatabaseModelFactory(ILoggerFactory)
    protected abstract IInternalDatabaseModelFactory CreateDatabaseModelFactory(ILoggerFactory loggerFactory)Protected MustOverride Function CreateDatabaseModelFactory(loggerFactory As ILoggerFactory) As IInternalDatabaseModelFactory

    Parameters

    • loggerFactory
      ILoggerFactory
      ILoggerFactory

    Returns

  • Drop(ForeignKeyModel)
    Drop(ForeignKeyModel)
    protected virtual DropForeignKeyOperation Drop(ForeignKeyModel foreignKey)Protected Overridable Function Drop(foreignKey As ForeignKeyModel) As DropForeignKeyOperation

    Parameters

    Returns

  • Drop(IndexModel)
    Drop(IndexModel)
    protected virtual DropIndexOperation Drop(IndexModel index)Protected Overridable Function Drop(index As IndexModel) As DropIndexOperation

    Parameters

    Returns

  • Drop(SequenceModel)
    Drop(SequenceModel)
    protected virtual DropSequenceOperation Drop(SequenceModel sequence)Protected Overridable Function Drop(sequence As SequenceModel) As DropSequenceOperation

    Parameters

    Returns

  • Drop(TableModel)
    Drop(TableModel)
    protected virtual DropTableOperation Drop(TableModel table)Protected Overridable Function Drop(table As TableModel) As DropTableOperation

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Specification.Tests.dll