IHistoryRepository IHistoryRepository Interface

Definition

public interface IHistoryRepository
Public Interface IHistoryRepository

Methods

Exists() Exists()

bool Exists()
Function Exists As Boolean
Returns
System.Boolean System.Boolean

ExistsAsync(CancellationToken) ExistsAsync(CancellationToken)

Task<bool> ExistsAsync(CancellationToken cancellationToken = null)
Function ExistsAsync(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)

GetAppliedMigrations() GetAppliedMigrations()

IReadOnlyList<HistoryRow> GetAppliedMigrations()
Function GetAppliedMigrations As IReadOnlyList(Of HistoryRow)
Returns
System.Collections.Generic.IReadOnlyList<HistoryRow> System.Collections.Generic.IReadOnlyList(Of HistoryRow)

GetAppliedMigrationsAsync(CancellationToken) GetAppliedMigrationsAsync(CancellationToken)

Task<IReadOnlyList<HistoryRow>> GetAppliedMigrationsAsync(CancellationToken cancellationToken = null)
Function GetAppliedMigrationsAsync(cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of HistoryRow))
Parameters
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<HistoryRow>> System.Threading.Tasks.Task(Of System.Collections.Generic.IReadOnlyList(Of HistoryRow))

GetBeginIfExistsScript(String) GetBeginIfExistsScript(String)

string GetBeginIfExistsScript(string migrationId)
Function GetBeginIfExistsScript(migrationId As String) As String
Parameters
migrationId
System.String System.String
Returns
System.String System.String

GetBeginIfNotExistsScript(String) GetBeginIfNotExistsScript(String)

string GetBeginIfNotExistsScript(string migrationId)
Function GetBeginIfNotExistsScript(migrationId As String) As String
Parameters
migrationId
System.String System.String
Returns
System.String System.String

GetCreateIfNotExistsScript() GetCreateIfNotExistsScript()

string GetCreateIfNotExistsScript()
Function GetCreateIfNotExistsScript As String
Returns
System.String System.String

GetCreateScript() GetCreateScript()

string GetCreateScript()
Function GetCreateScript As String
Returns
System.String System.String

GetDeleteScript(String) GetDeleteScript(String)

string GetDeleteScript(string migrationId)
Function GetDeleteScript(migrationId As String) As String
Parameters
migrationId
System.String System.String
Returns
System.String System.String

GetEndIfScript() GetEndIfScript()

string GetEndIfScript()
Function GetEndIfScript As String
Returns
System.String System.String

GetInsertScript(HistoryRow) GetInsertScript(HistoryRow)

string GetInsertScript(HistoryRow row)
Function GetInsertScript(row As HistoryRow) As String
Parameters
Returns
System.String System.String