Relational​Database​Cleaner Relational​Database​Cleaner Class

Definition

public abstract class RelationalDatabaseCleanerPublic MustInherit Class RelationalDatabaseCleaner
Inheritance
System.ObjectSystem.Object
RelationalDatabaseCleanerRelationalDatabaseCleaner

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

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