HistoryRepository
DefaultTableName
HistoryRepository(HistoryRepositoryDependencies)
Dependencies
ExistsSql
GetAppliedMigrationsSql
LockReleaseBehavior
MigrationIdColumnName
ProductVersionColumnName
SqlGenerationHelper
TableName
TableSchema
AcquireDatabaseLock()
AcquireDatabaseLockAsync(CancellationToken)
ConfigureTable(EntityTypeBuilder<HistoryRow>)
Create()
CreateAsync(CancellationToken)
EnsureModel()
Exists()
ExistsAsync(CancellationToken)
GetAppliedMigrations()
GetAppliedMigrationsAsync(CancellationToken)
GetBeginIfExistsScript(String)
GetBeginIfNotExistsScript(String)
GetCreateCommands()
GetCreateIfNotExistsScript()
GetCreateScript()
GetDeleteScript(String)
GetEndIfScript()
GetInsertScript(HistoryRow)
InterpretExistsResult(Object)
net11.0
namespace Microsoft.EntityFrameworkCore.Migrations
{
public abstract class HistoryRepository : IHistoryRepository
{
[EntityFrameworkInternal]
protected virtual IModel! EnsureModel();
}
}
| .NET | 11.0 |
|---|---|
Information specific to net11.0 | |
| Assembly | Microsoft.EntityFrameworkCore.Relational , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational (11.0.0-preview.5.26302.115) net11.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API