Sql​Server​History​Repository Sql​Server​History​Repository Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class SqlServerHistoryRepository : HistoryRepository, IHistoryRepositoryPublic Class SqlServerHistoryRepository
    Inherits HistoryRepository
    Implements IHistoryRepository
Inheritance
System.ObjectSystem.Object
SqlServerHistoryRepositorySqlServerHistoryRepository
Implements

Inherited Members

Microsoft.EntityFrameworkCore.Migrations.HistoryRepository

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()

Constructors

SqlServerHistoryRepository(IDatabaseCreator, IRawSqlCommandBuilder, ISqlServerConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, IRelationalAnnotationProvider, ISqlGenerationHelper) SqlServerHistoryRepository(IDatabaseCreator, IRawSqlCommandBuilder, ISqlServerConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, IRelationalAnnotationProvider, ISqlGenerationHelper)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public SqlServerHistoryRepository(IDatabaseCreator databaseCreator, IRawSqlCommandBuilder rawSqlCommandBuilder, ISqlServerConnection connection, IDbContextOptions options, IMigrationsModelDiffer modelDiffer, IMigrationsSqlGenerator migrationsSqlGenerator, IRelationalAnnotationProvider annotations, ISqlGenerationHelper sqlGenerationHelper)Public Sub New(databaseCreator As IDatabaseCreator, rawSqlCommandBuilder As IRawSqlCommandBuilder, connection As ISqlServerConnection, options As IDbContextOptions, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, annotations As IRelationalAnnotationProvider, sqlGenerationHelper As ISqlGenerationHelper)
Parameters

Properties

ExistsSql ExistsSql

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override string ExistsSql { get; }Protected Overrides ReadOnly Property ExistsSql As String
Value
System.String System.String
Overrides

Methods

GetBeginIfExistsScript(String) GetBeginIfExistsScript(String)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override string GetBeginIfExistsScript(string migrationId)Public Overrides Function GetBeginIfExistsScript(migrationId As String) As String
Parameters
migrationId
System.String System.String
Returns
System.String System.String
Overrides

GetBeginIfNotExistsScript(String) GetBeginIfNotExistsScript(String)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override string GetBeginIfNotExistsScript(string migrationId)Public Overrides Function GetBeginIfNotExistsScript(migrationId As String) As String
Parameters
migrationId
System.String System.String
Returns
System.String System.String
Overrides

GetCreateIfNotExistsScript() GetCreateIfNotExistsScript()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override string GetCreateIfNotExistsScript()Public Overrides Function GetCreateIfNotExistsScript As String
Returns
System.String System.String
Overrides

GetDeleteScript(String) GetDeleteScript(String)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override string GetDeleteScript(string migrationId)Public Overrides Function GetDeleteScript(migrationId As String) As String
Parameters
migrationId
System.String System.String
Returns
System.String System.String
Overrides

GetEndIfScript() GetEndIfScript()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override string GetEndIfScript()Public Overrides Function GetEndIfScript As String
Returns
System.String System.String
Overrides

GetInsertScript(HistoryRow) GetInsertScript(HistoryRow)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override string GetInsertScript(HistoryRow row)Public Overrides Function GetInsertScript(row As HistoryRow) As String
Parameters
Returns
System.String System.String
Overrides

InterpretExistsResult(Object) InterpretExistsResult(Object)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override bool InterpretExistsResult(object value)Protected Overrides Function InterpretExistsResult(value As Object) As Boolean
Parameters
value
System.Object System.Object
Returns
System.Boolean System.Boolean
Overrides