IHistoryRepository IHistoryRepository Interface

Syntax

Declaration

public interface IHistoryRepositoryPublic Interface IHistoryRepository

Methods summary

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<TResult><System.Boolean>
      System.Threading.Tasks.Task<TResult>(Of System.Boolean)
  • GetAppliedMigrations()
    GetAppliedMigrations()
    IReadOnlyList<HistoryRow> GetAppliedMigrations()Function GetAppliedMigrations As IReadOnlyList(Of HistoryRow)

    Returns

    • System.Collections.Generic.IReadOnlyList<T><HistoryRow>
      System.Collections.Generic.IReadOnlyList<T>(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<TResult><System.Collections.Generic.IReadOnlyList<T><HistoryRow>>
      System.Threading.Tasks.Task<TResult>(Of System.Collections.Generic.IReadOnlyList<T>(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

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll