RingDotNetfor Ring

Microsoft.EntityFrameworkCore.Migrations

25 wrapped types. Load them with using { "Microsoft.EntityFrameworkCore.Migrations" }. Click a class to open it.

HistoryRepository class abstract

Microsoft.EntityFrameworkCore.Migrations.HistoryRepository · assembly Microsoft.EntityFrameworkCore.Relational

Properties and fields

NameTypeAccessIn Ring
LockReleaseBehaviorLockReleaseBehaviorreado.LockReleaseBehavior
DefaultTableNamestringconstant · statico.DefaultTableName

Methods

MethodRing call.NET overloads
AcquireDatabaseLockcallMethod("AcquireDatabaseLock",[])IMigrationsDatabaseLock AcquireDatabaseLock()
AcquireDatabaseLockAsyncAcquireDatabaseLockAsync(value)
AcquireDatabaseLockAsync([ :cancellationToken = … ])
Task<IMigrationsDatabaseLock> AcquireDatabaseLockAsync(CancellationToken cancellationToken = …)
CreatecallMethod("Create",[])void Create()
CreateAsyncCreateAsync(value)
CreateAsync([ :cancellationToken = … ])
Task CreateAsync(CancellationToken cancellationToken = …)
ExistscallMethod("Exists",[])bool Exists()
ExistsAsyncExistsAsync(value)
ExistsAsync([ :cancellationToken = … ])
Task<bool> ExistsAsync(CancellationToken cancellationToken = …)
GetAppliedMigrationscallMethod("GetAppliedMigrations",[])IReadOnlyList<HistoryRow> GetAppliedMigrations()
GetAppliedMigrationsAsyncGetAppliedMigrationsAsync(value)
GetAppliedMigrationsAsync([ :cancellationToken = … ])
Task<IReadOnlyList<HistoryRow>> GetAppliedMigrationsAsync(CancellationToken cancellationToken = …)
GetBeginIfExistsScriptcallMethod("GetBeginIfExistsScript",[p1])string GetBeginIfExistsScript(string migrationId)
GetBeginIfNotExistsScriptcallMethod("GetBeginIfNotExistsScript",[p1])string GetBeginIfNotExistsScript(string migrationId)
GetCreateIfNotExistsScriptcallMethod("GetCreateIfNotExistsScript",[])string GetCreateIfNotExistsScript()
GetCreateScriptcallMethod("GetCreateScript",[])string GetCreateScript()
GetDeleteScriptcallMethod("GetDeleteScript",[p1])string GetDeleteScript(string migrationId)
GetEndIfScriptcallMethod("GetEndIfScript",[])string GetEndIfScript()
GetInsertScriptGetInsertScript(p1)string GetInsertScript(HistoryRow row)
HistoryRepositoryDependencies class sealed

Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new HistoryRepositoryDependencies(IRelationalDatabaseCreator databaseCreator, IRawSqlCommandBuilder rawSqlCommandBuilder, IRelationalConnection connection, IDbContextOptions options, IMigrationsModelDiffer modelDiffer, IMigrationsSqlGenerator migrationsSqlGenerator, IMigrationCommandExecutor migrationCommandExecutor, ISqlGenerationHelper sqlGenerationHelper, IConventionSetBuilder conventionSetBuilder, ModelDependencies modelDependencies, IRelationalTypeMappingSource typeMappingSource, ICurrentDbContext currentContext, IModelRuntimeInitializer modelRuntimeInitializer, IRelationalCommandDiagnosticsLogger commandLogger, IDiagnosticsLogger<DbLoggerCategory.Migrations> migrationsLogger)

Ring: new HistoryRepositoryDependencies(args) uses one constructor; the others are chosen by the parameter names: new HistoryRepositoryDependencies().@New([ :param = value ]) or dnNew("HistoryRepositoryDependencies",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
DatabaseCreatorIRelationalDatabaseCreatorread, writeo.DatabaseCreator o.DatabaseCreator = v
RawSqlCommandBuilderIRawSqlCommandBuilderread, writeo.RawSqlCommandBuilder o.RawSqlCommandBuilder = v
ConnectionIRelationalConnectionread, writeo.Connection o.Connection = v
OptionsIDbContextOptionsread, writeo.Options o.Options = v
ModelDifferIMigrationsModelDifferread, writeo.ModelDiffer o.ModelDiffer = v
MigrationsSqlGeneratorIMigrationsSqlGeneratorread, writeo.MigrationsSqlGenerator o.MigrationsSqlGenerator = v
SqlGenerationHelperISqlGenerationHelperread, writeo.SqlGenerationHelper o.SqlGenerationHelper = v
MigrationCommandExecutorIMigrationCommandExecutorread, writeo.MigrationCommandExecutor o.MigrationCommandExecutor = v
ConventionSetBuilderIConventionSetBuilderread, writeo.ConventionSetBuilder o.ConventionSetBuilder = v
ModelDependenciesModelDependenciesread, writeo.ModelDependencies o.ModelDependencies = v
TypeMappingSourceIRelationalTypeMappingSourceread, writeo.TypeMappingSource o.TypeMappingSource = v
CurrentContextICurrentDbContextread, writeo.CurrentContext o.CurrentContext = v
ModelRuntimeInitializerIModelRuntimeInitializerread, writeo.ModelRuntimeInitializer o.ModelRuntimeInitializer = v
CommandLoggerIRelationalCommandDiagnosticsLoggerread, writeo.CommandLogger o.CommandLogger = v
MigrationsLoggerIDiagnosticsLogger<DbLoggerCategory.Migrations>read, writeo.MigrationsLogger o.MigrationsLogger = v

Methods

MethodRing call.NET overloads
<Clone>$callMethod("<Clone>$",[])HistoryRepositoryDependencies <Clone>$()
EqualsEquals(p1)bool Equals(object obj)
bool Equals(HistoryRepositoryDependencies other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
HistoryRow class

Microsoft.EntityFrameworkCore.Migrations.HistoryRow · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new HistoryRow(string migrationId, string productVersion)

Ring: new HistoryRow(args) uses one constructor; the others are chosen by the parameter names: new HistoryRow().@New([ :param = value ]) or dnNew("HistoryRow",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
MigrationIdstringreado.MigrationId
ProductVersionstringreado.ProductVersion
IHistoryRepository interface

Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository · assembly Microsoft.EntityFrameworkCore.Relational

Properties and fields

NameTypeAccessIn Ring
LockReleaseBehaviorLockReleaseBehaviorreado.LockReleaseBehavior

Methods

MethodRing call.NET overloads
AcquireDatabaseLockcallMethod("AcquireDatabaseLock",[])IMigrationsDatabaseLock AcquireDatabaseLock()
AcquireDatabaseLockAsyncAcquireDatabaseLockAsync(value)
AcquireDatabaseLockAsync([ :cancellationToken = … ])
Task<IMigrationsDatabaseLock> AcquireDatabaseLockAsync(CancellationToken cancellationToken = …)
CreatecallMethod("Create",[])void Create()
CreateAsyncCreateAsync(value)
CreateAsync([ :cancellationToken = … ])
Task CreateAsync(CancellationToken cancellationToken = …)
CreateIfNotExistscallMethod("CreateIfNotExists",[])bool CreateIfNotExists()
CreateIfNotExistsAsyncCreateIfNotExistsAsync(value)
CreateIfNotExistsAsync([ :cancellationToken = … ])
Task<bool> CreateIfNotExistsAsync(CancellationToken cancellationToken = …)
ExistscallMethod("Exists",[])bool Exists()
ExistsAsyncExistsAsync(value)
ExistsAsync([ :cancellationToken = … ])
Task<bool> ExistsAsync(CancellationToken cancellationToken = …)
GetAppliedMigrationscallMethod("GetAppliedMigrations",[])IReadOnlyList<HistoryRow> GetAppliedMigrations()
GetAppliedMigrationsAsyncGetAppliedMigrationsAsync(value)
GetAppliedMigrationsAsync([ :cancellationToken = … ])
Task<IReadOnlyList<HistoryRow>> GetAppliedMigrationsAsync(CancellationToken cancellationToken = …)
GetBeginIfExistsScriptcallMethod("GetBeginIfExistsScript",[p1])string GetBeginIfExistsScript(string migrationId)
GetBeginIfNotExistsScriptcallMethod("GetBeginIfNotExistsScript",[p1])string GetBeginIfNotExistsScript(string migrationId)
GetCreateIfNotExistsScriptcallMethod("GetCreateIfNotExistsScript",[])string GetCreateIfNotExistsScript()
GetCreateScriptcallMethod("GetCreateScript",[])string GetCreateScript()
GetDeleteScriptcallMethod("GetDeleteScript",[p1])string GetDeleteScript(string migrationId)
GetEndIfScriptcallMethod("GetEndIfScript",[])string GetEndIfScript()
GetInsertScriptGetInsertScript(p1)string GetInsertScript(HistoryRow row)
IMigrationCommandExecutor interface

Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor · assembly Microsoft.EntityFrameworkCore.Relational

Methods

MethodRing call.NET overloads
ExecuteNonQueryExecuteNonQuery([ :migrationCommands = …, :connection = … ])
ExecuteNonQuery([ :migrationCommands = …, :connection = …, :executionState = …, :commitTransaction = …, :isolationLevel = … ])
void ExecuteNonQuery(IEnumerable<MigrationCommand> migrationCommands, IRelationalConnection connection)
int ExecuteNonQuery(IReadOnlyList<MigrationCommand> migrationCommands, IRelationalConnection connection, MigrationExecutionState executionState, bool commitTransaction, IsolationLevel? isolationLevel = …)
ExecuteNonQueryAsyncExecuteNonQueryAsync([ :migrationCommands = …, :connection = …, :cancellationToken = … ])
ExecuteNonQueryAsync([ :migrationCommands = …, :connection = …, :executionState = …, :commitTransaction = …, :isolationLevel = …, :cancellationToken = … ])
Task ExecuteNonQueryAsync(IEnumerable<MigrationCommand> migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken = …)
Task<int> ExecuteNonQueryAsync(IReadOnlyList<MigrationCommand> migrationCommands, IRelationalConnection connection, MigrationExecutionState executionState, bool commitTransaction, IsolationLevel? isolationLevel = …, CancellationToken cancellationToken = …)
IMigrationsAnnotationProvider interface

Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider · assembly Microsoft.EntityFrameworkCore.Relational

Methods

MethodRing call.NET overloads
ForRemovecallMethod("ForRemove",[p1])IEnumerable<IAnnotation> ForRemove(IRelationalModel model)
IEnumerable<IAnnotation> ForRemove(ITable table)
IEnumerable<IAnnotation> ForRemove(IColumn column)
IEnumerable<IAnnotation> ForRemove(IView view)
IEnumerable<IAnnotation> ForRemove(IViewColumn column)
IEnumerable<IAnnotation> ForRemove(IUniqueConstraint constraint)
IEnumerable<IAnnotation> ForRemove(ITableIndex index)
IEnumerable<IAnnotation> ForRemove(IForeignKeyConstraint foreignKey)
IEnumerable<IAnnotation> ForRemove(ISequence sequence)
IEnumerable<IAnnotation> ForRemove(ICheckConstraint checkConstraint)
ForRenamecallMethod("ForRename",[p1])IEnumerable<IAnnotation> ForRename(ITable table)
IEnumerable<IAnnotation> ForRename(IColumn column)
IEnumerable<IAnnotation> ForRename(ITableIndex index)
IEnumerable<IAnnotation> ForRename(ISequence sequence)
IMigrationsAssembly interface

Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly · assembly Microsoft.EntityFrameworkCore.Relational

Properties and fields

NameTypeAccessIn Ring
MigrationsIReadOnlyDictionary<string, TypeInfo>reado.Migrations
ModelSnapshotModelSnapshotreado.ModelSnapshot
AssemblyAssemblyreado.Assembly

Methods

MethodRing call.NET overloads
CreateMigrationcallMethod("CreateMigration",[p1,p2])Migration CreateMigration(TypeInfo migrationClass, string activeProvider)
FindMigrationIdcallMethod("FindMigrationId",[p1])string FindMigrationId(string nameOrId)
IMigrationsDatabaseLock interface

Microsoft.EntityFrameworkCore.Migrations.IMigrationsDatabaseLock · assembly Microsoft.EntityFrameworkCore.Relational

Implements: IDisposable, IAsyncDisposable

Methods

MethodRing call.NET overloads
ReacquireIfNeededcallMethod("ReacquireIfNeeded",[p1,p2])IMigrationsDatabaseLock ReacquireIfNeeded(bool connectionReopened, bool? transactionRestarted)
ReacquireIfNeededAsyncReacquireIfNeededAsync([ :connectionReopened = …, :transactionRestarted = …, :cancellationToken = … ])Task<IMigrationsDatabaseLock> ReacquireIfNeededAsync(bool connectionReopened, bool? transactionRestarted, CancellationToken cancellationToken = …)
IMigrationsIdGenerator interface

Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator · assembly Microsoft.EntityFrameworkCore.Relational

Methods

MethodRing call.NET overloads
GenerateIdcallMethod("GenerateId",[p1])string GenerateId(string name)
GetNamecallMethod("GetName",[p1])string GetName(string id)
IsValidIdcallMethod("IsValidId",[p1])bool IsValidId(string value)
IMigrationsModelDiffer interface

Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer · assembly Microsoft.EntityFrameworkCore.Relational

Methods

MethodRing call.NET overloads
GetDifferencescallMethod("GetDifferences",[p1,p2])IReadOnlyList<MigrationOperation> GetDifferences(IRelationalModel source, IRelationalModel target)
HasDifferencesHasDifferences(p1,p2)bool HasDifferences(IRelationalModel source, IRelationalModel target)
IMigrationsSqlGenerator interface

Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator · assembly Microsoft.EntityFrameworkCore.Relational

Methods

MethodRing call.NET overloads
GenerateGenerate([ :operations = …, :model = …, :options = … ])IReadOnlyList<MigrationCommand> Generate(IReadOnlyList<MigrationOperation> operations, IModel model = …, MigrationsSqlGenerationOptions options = …)
IMigrator interface

Microsoft.EntityFrameworkCore.Migrations.IMigrator · assembly Microsoft.EntityFrameworkCore.Relational

Methods

MethodRing call.NET overloads
GenerateScriptcallMethod("GenerateScript",[p1,p2,p3])string GenerateScript(string fromMigration = …, string toMigration = …, MigrationsSqlGenerationOptions options = …)
HasPendingModelChangescallMethod("HasPendingModelChanges",[])bool HasPendingModelChanges()
MigratecallMethod("Migrate",[p1])void Migrate(string targetMigration = …)
MigrateAsyncMigrateAsync([ :targetMigration = …, :cancellationToken = … ])Task MigrateAsync(string targetMigration = …, CancellationToken cancellationToken = …)
Migration class abstract

Microsoft.EntityFrameworkCore.Migrations.Migration · assembly Microsoft.EntityFrameworkCore.Relational

Properties and fields

NameTypeAccessIn Ring
TargetModelIModelreado.TargetModel
UpOperationsIReadOnlyList<MigrationOperation>reado.UpOperations
DownOperationsIReadOnlyList<MigrationOperation>reado.DownOperations
ActiveProviderstringread, writeo.ActiveProvider o.ActiveProvider = v
InitialDatabasestringconstant · statico.InitialDatabase
MigrationAttribute class sealed · extends Attribute

Microsoft.EntityFrameworkCore.Migrations.MigrationAttribute · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationAttribute(string id)

Ring: new MigrationAttribute(args) uses one constructor; the others are chosen by the parameter names: new MigrationAttribute().@New([ :param = value ]) or dnNew("MigrationAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Idstringreado.Id

Members of the base class are inherited.

MigrationBuilder class

Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationBuilder(string activeProvider)

Ring: new MigrationBuilder(args) uses one constructor; the others are chosen by the parameter names: new MigrationBuilder().@New([ :param = value ]) or dnNew("MigrationBuilder",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ActiveProviderstringreado.ActiveProvider
OperationsList<MigrationOperation>reado.Operations

Methods

MethodRing call.NET overloads
AddCheckConstraintAddCheckConstraint([ :name = …, :table = …, :sql = …, :schema = … ])OperationBuilder<AddCheckConstraintOperation> AddCheckConstraint(string name, string table, string sql, string schema = …)
AddColumnAddColumn([ :name = …, :table = …, :type = …, :unicode = …, :maxLength = …, :rowVersion = …, :schema = …, :nullable = …, :defaultValue = …, :defaultValueSql = …, :computedColumnSql = …, :fixedLength = …, :comment = …, :collation = …, :precision = …, :scale = …, :stored = … ])OperationBuilder<AddColumnOperation> AddColumn<T>(string name, string table, string type = …, bool? unicode = …, int? maxLength = …, bool rowVersion = …, string schema = …, bool nullable = …, object defaultValue = …, string defaultValueSql = …, string computedColumnSql = …, bool? fixedLength = …, string comment = …, string collation = …, int? precision = …, int? scale = …, bool? stored = …)
AddForeignKeyAddForeignKey([ :name = …, :table = …, :column = …, :principalTable = …, :schema = …, :principalSchema = …, :principalColumn = …, :onUpdate = …, :onDelete = … ])
AddForeignKey([ :name = …, :table = …, :columns = …, :principalTable = …, :schema = …, :principalSchema = …, :principalColumns = …, :onUpdate = …, :onDelete = … ])
OperationBuilder<AddForeignKeyOperation> AddForeignKey(string name, string table, string column, string principalTable, string schema = …, string principalSchema = …, string principalColumn = …, ReferentialAction onUpdate = …, ReferentialAction onDelete = …)
OperationBuilder<AddForeignKeyOperation> AddForeignKey(string name, string table, string[] columns, string principalTable, string schema = …, string principalSchema = …, string[] principalColumns = …, ReferentialAction onUpdate = …, ReferentialAction onDelete = …)
AddPrimaryKeyAddPrimaryKey([ :name = …, :table = …, :column = …, :schema = … ])
AddPrimaryKey([ :name = …, :table = …, :columns = …, :schema = … ])
OperationBuilder<AddPrimaryKeyOperation> AddPrimaryKey(string name, string table, string column, string schema = …)
OperationBuilder<AddPrimaryKeyOperation> AddPrimaryKey(string name, string table, string[] columns, string schema = …)
AddUniqueConstraintAddUniqueConstraint([ :name = …, :table = …, :column = …, :schema = … ])
AddUniqueConstraint([ :name = …, :table = …, :columns = …, :schema = … ])
OperationBuilder<AddUniqueConstraintOperation> AddUniqueConstraint(string name, string table, string column, string schema = …)
OperationBuilder<AddUniqueConstraintOperation> AddUniqueConstraint(string name, string table, string[] columns, string schema = …)
AlterColumnAlterColumn([ :name = …, :table = …, :type = …, :unicode = …, :maxLength = …, :rowVersion = …, :schema = …, :nullable = …, :defaultValue = …, :defaultValueSql = …, :computedColumnSql = …, :oldClrType = …, :oldType = …, :oldUnicode = …, :oldMaxLength = …, :oldRowVersion = …, :oldNullable = …, :oldDefaultValue = …, :oldDefaultValueSql = …, :oldComputedColumnSql = …, :fixedLength = …, :oldFixedLength = …, :comment = …, :oldComment = …, :collation = …, :oldCollation = …, :precision = …, :oldPrecision = …, :scale = …, :oldScale = …, :stored = …, :oldStored = … ])AlterOperationBuilder<AlterColumnOperation> AlterColumn<T>(string name, string table, string type = …, bool? unicode = …, int? maxLength = …, bool rowVersion = …, string schema = …, bool nullable = …, object defaultValue = …, string defaultValueSql = …, string computedColumnSql = …, Type oldClrType = …, string oldType = …, bool? oldUnicode = …, int? oldMaxLength = …, bool oldRowVersion = …, bool oldNullable = …, object oldDefaultValue = …, string oldDefaultValueSql = …, string oldComputedColumnSql = …, bool? fixedLength = …, bool? oldFixedLength = …, string comment = …, string oldComment = …, string collation = …, string oldCollation = …, int? precision = …, int? oldPrecision = …, int? scale = …, int? oldScale = …, bool? stored = …, bool? oldStored = …)
AlterDatabaseAlterDatabase([ :collation = …, :oldCollation = … ])AlterOperationBuilder<AlterDatabaseOperation> AlterDatabase(string collation = …, string oldCollation = …)
AlterSequenceAlterSequence([ :name = …, :schema = …, :incrementBy = …, :minValue = …, :maxValue = …, :cyclic = …, :oldIncrementBy = …, :oldMinValue = …, :oldMaxValue = …, :oldCyclic = … ])AlterOperationBuilder<AlterSequenceOperation> AlterSequence(string name, string schema = …, int incrementBy = …, long? minValue = …, long? maxValue = …, bool cyclic = …, int oldIncrementBy = …, long? oldMinValue = …, long? oldMaxValue = …, bool oldCyclic = …)
AlterTableAlterTable([ :name = …, :schema = …, :comment = …, :oldComment = … ])AlterOperationBuilder<AlterTableOperation> AlterTable(string name, string schema = …, string comment = …, string oldComment = …)
CreateCheckConstraintCreateCheckConstraint([ :name = …, :table = …, :sql = …, :schema = … ])OperationBuilder<AddCheckConstraintOperation> CreateCheckConstraint(string name, string table, string sql, string schema = …)
CreateIndexCreateIndex([ :name = …, :table = …, :column = …, :schema = …, :unique = …, :filter = …, :descending = … ])
CreateIndex([ :name = …, :table = …, :columns = …, :schema = …, :unique = …, :filter = …, :descending = … ])
OperationBuilder<CreateIndexOperation> CreateIndex(string name, string table, string column, string schema = …, bool unique = …, string filter = …, bool[] descending = …)
OperationBuilder<CreateIndexOperation> CreateIndex(string name, string table, string[] columns, string schema = …, bool unique = …, string filter = …, bool[] descending = …)
CreateSequenceCreateSequence([ :name = …, :schema = …, :startValue = …, :incrementBy = …, :minValue = …, :maxValue = …, :cyclic = … ])OperationBuilder<CreateSequenceOperation> CreateSequence(string name, string schema = …, long startValue = …, int incrementBy = …, long? minValue = …, long? maxValue = …, bool cyclic = …)
OperationBuilder<CreateSequenceOperation> CreateSequence<T>(string name, string schema = …, long startValue = …, int incrementBy = …, long? minValue = …, long? maxValue = …, bool cyclic = …)
CreateTableCreateTable([ :name = …, :columns = …, :schema = …, :constraints = …, :comment = … ])CreateTableBuilder<TColumns> CreateTable<TColumns>(string name, Func<ColumnsBuilder, TColumns> columns, string schema = …, Action<CreateTableBuilder<TColumns>> constraints = …, string comment = …)
DeleteDataDeleteData([ :table = …, :keyColumn = …, :keyValue = …, :schema = … ])
DeleteData([ :table = …, :keyColumns = …, :keyValues = …, :schema = … ])
DeleteData([ :table = …, :keyColumn = …, :keyValues = …, :schema = … ])
DeleteData([ :table = …, :keyColumn = …, :keyColumnType = …, :keyValue = …, :schema = … ])
OperationBuilder<DeleteDataOperation> DeleteData(string table, string keyColumn, object keyValue, string schema = …)
OperationBuilder<DeleteDataOperation> DeleteData(string table, string keyColumn, string keyColumnType, object keyValue, string schema = …)
OperationBuilder<DeleteDataOperation> DeleteData(string table, string[] keyColumns, object[] keyValues, string schema = …)
OperationBuilder<DeleteDataOperation> DeleteData(string table, string[] keyColumns, string[] keyColumnTypes, object[] keyValues, string schema = …)
OperationBuilder<DeleteDataOperation> DeleteData(string table, string keyColumn, object[] keyValues, string schema = …)
OperationBuilder<DeleteDataOperation> DeleteData(string table, string keyColumn, string keyColumnType, object[] keyValues, string schema = …)
OperationBuilder<DeleteDataOperation> DeleteData(string table, string[] keyColumns, object[] keyValues, string schema = …)
OperationBuilder<DeleteDataOperation> DeleteData(string table, string[] keyColumns, string[] keyColumnTypes, object[] keyValues, string schema = …)
DropCheckConstraintDropCheckConstraint([ :name = …, :table = …, :schema = … ])OperationBuilder<DropCheckConstraintOperation> DropCheckConstraint(string name, string table, string schema = …)
DropColumnDropColumn([ :name = …, :table = …, :schema = … ])OperationBuilder<DropColumnOperation> DropColumn(string name, string table, string schema = …)
DropForeignKeyDropForeignKey([ :name = …, :table = …, :schema = … ])OperationBuilder<DropForeignKeyOperation> DropForeignKey(string name, string table, string schema = …)
DropIndexDropIndex([ :name = …, :table = …, :schema = … ])OperationBuilder<DropIndexOperation> DropIndex(string name, string table = …, string schema = …)
DropPrimaryKeyDropPrimaryKey([ :name = …, :table = …, :schema = … ])OperationBuilder<DropPrimaryKeyOperation> DropPrimaryKey(string name, string table, string schema = …)
DropSchemacallMethod("DropSchema",[p1])OperationBuilder<DropSchemaOperation> DropSchema(string name)
DropSequenceDropSequence([ :name = …, :schema = … ])OperationBuilder<DropSequenceOperation> DropSequence(string name, string schema = …)
DropTableDropTable([ :name = …, :schema = … ])OperationBuilder<DropTableOperation> DropTable(string name, string schema = …)
DropUniqueConstraintDropUniqueConstraint([ :name = …, :table = …, :schema = … ])OperationBuilder<DropUniqueConstraintOperation> DropUniqueConstraint(string name, string table, string schema = …)
EnsureSchemacallMethod("EnsureSchema",[p1])OperationBuilder<EnsureSchemaOperation> EnsureSchema(string name)
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
InsertDataInsertData([ :table = …, :column = …, :value = …, :schema = … ])
InsertData([ :table = …, :columns = …, :values = …, :schema = … ])
InsertData([ :table = …, :column = …, :values = …, :schema = … ])
InsertData([ :table = …, :column = …, :columnType = …, :value = …, :schema = … ])
OperationBuilder<InsertDataOperation> InsertData(string table, string column, object value, string schema = …)
OperationBuilder<InsertDataOperation> InsertData(string table, string column, string columnType, object value, string schema = …)
OperationBuilder<InsertDataOperation> InsertData(string table, string[] columns, object[] values, string schema = …)
OperationBuilder<InsertDataOperation> InsertData(string table, string[] columns, string[] columnTypes, object[] values, string schema = …)
OperationBuilder<InsertDataOperation> InsertData(string table, string column, object[] values, string schema = …)
OperationBuilder<InsertDataOperation> InsertData(string table, string column, string columnType, object[] values, string schema = …)
OperationBuilder<InsertDataOperation> InsertData(string table, string[] columns, object[] values, string schema = …)
OperationBuilder<InsertDataOperation> InsertData(string table, string[] columns, string[] columnTypes, object[] values, string schema = …)
RenameColumnRenameColumn([ :name = …, :table = …, :newName = …, :schema = … ])OperationBuilder<RenameColumnOperation> RenameColumn(string name, string table, string newName, string schema = …)
RenameIndexRenameIndex([ :name = …, :newName = …, :table = …, :schema = … ])OperationBuilder<RenameIndexOperation> RenameIndex(string name, string newName, string table = …, string schema = …)
RenameSequenceRenameSequence([ :name = …, :schema = …, :newName = …, :newSchema = … ])OperationBuilder<RenameSequenceOperation> RenameSequence(string name, string schema = …, string newName = …, string newSchema = …)
RenameTableRenameTable([ :name = …, :schema = …, :newName = …, :newSchema = … ])OperationBuilder<RenameTableOperation> RenameTable(string name, string schema = …, string newName = …, string newSchema = …)
RestartSequenceRestartSequence([ :name = …, :startValue = …, :schema = … ])OperationBuilder<RestartSequenceOperation> RestartSequence(string name, long? startValue = …, string schema = …)
SqlSql([ :sql = …, :suppressTransaction = … ])OperationBuilder<SqlOperation> Sql(string sql, bool suppressTransaction = …)
ToStringcallMethod("ToString",[])string ToString()
UpdateDataUpdateData([ :table = …, :keyColumn = …, :keyValue = …, :column = …, :value = …, :schema = … ])
UpdateData([ :table = …, :keyColumn = …, :keyValue = …, :columns = …, :values = …, :schema = … ])
UpdateData([ :table = …, :keyColumns = …, :keyValues = …, :column = …, :value = …, :schema = … ])
UpdateData([ :table = …, :keyColumns = …, :keyValues = …, :columns = …, :values = …, :schema = … ])
OperationBuilder<UpdateDataOperation> UpdateData(string table, string keyColumn, object keyValue, string column, object value, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string keyColumn, object keyValue, string[] columns, object[] values, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string[] keyColumns, object[] keyValues, string column, object value, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string[] keyColumns, object[] keyValues, string[] columns, object[] values, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string[] keyColumns, string[] keyColumnTypes, object[] keyValues, string[] columns, string[] columnTypes, object[] values, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string keyColumn, object[] keyValues, string column, object[] values, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string keyColumn, object[] keyValues, string[] columns, object[] values, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string[] keyColumns, object[] keyValues, string column, object[] values, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string[] keyColumns, object[] keyValues, string[] columns, object[] values, string schema = …)
OperationBuilder<UpdateDataOperation> UpdateData(string table, string[] keyColumns, string[] keyColumnTypes, object[] keyValues, string[] columns, string[] columnTypes, object[] values, string schema = …)
MigrationCommand class

Microsoft.EntityFrameworkCore.Migrations.MigrationCommand · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationCommand(IRelationalCommand relationalCommand, DbContext context, IRelationalCommandDiagnosticsLogger logger, bool transactionSuppressed = …)

Ring: new MigrationCommand(args) uses one constructor; the others are chosen by the parameter names: new MigrationCommand().@New([ :param = value ]) or dnNew("MigrationCommand",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
TransactionSuppressedboolreado.TransactionSuppressed
CommandTextstringreado.CommandText
CommandLoggerIRelationalCommandDiagnosticsLoggerreado.CommandLogger

Methods

MethodRing call.NET overloads
ExecuteNonQuerycallMethod("ExecuteNonQuery",[p1,p2])int ExecuteNonQuery(IRelationalConnection connection, IReadOnlyDictionary<string, object> parameterValues = …)
ExecuteNonQueryAsyncExecuteNonQueryAsync([ :connection = …, :parameterValues = …, :cancellationToken = … ])Task<int> ExecuteNonQueryAsync(IRelationalConnection connection, IReadOnlyDictionary<string, object> parameterValues = …, CancellationToken cancellationToken = …)
MigrationCommandListBuilder class

Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationCommandListBuilder(MigrationsSqlGeneratorDependencies dependencies)

Ring: new MigrationCommandListBuilder(args) uses one constructor; the others are chosen by the parameter names: new MigrationCommandListBuilder().@New([ :param = value ]) or dnNew("MigrationCommandListBuilder",[ :param = value ]).

Methods

MethodRing call.NET overloads
AppendcallMethod("Append",[p1])MigrationCommandListBuilder Append(string o)
AppendLineAppendLine(NULL)
AppendLine(value)
AppendLine([ :value = … ])
MigrationCommandListBuilder AppendLine()
MigrationCommandListBuilder AppendLine(string value)
AppendLinescallMethod("AppendLines",[p1])MigrationCommandListBuilder AppendLines(string value)
DecrementIndentcallMethod("DecrementIndent",[])MigrationCommandListBuilder DecrementIndent()
EndCommandEndCommand(value)
EndCommand([ :suppressTransaction = … ])
MigrationCommandListBuilder EndCommand(bool suppressTransaction = …)
GetCommandListcallMethod("GetCommandList",[])IReadOnlyList<MigrationCommand> GetCommandList()
IncrementIndentcallMethod("IncrementIndent",[])MigrationCommandListBuilder IncrementIndent()
IndentcallMethod("Indent",[])IDisposable Indent()
MigrationExecutionState class sealed

Microsoft.EntityFrameworkCore.Migrations.MigrationExecutionState · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationExecutionState()

Ring: new MigrationExecutionState(args) uses one constructor; the others are chosen by the parameter names: new MigrationExecutionState().@New([ :param = value ]) or dnNew("MigrationExecutionState",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
LastCommittedCommandIndexintread, writeo.LastCommittedCommandIndex o.LastCommittedCommandIndex = v
CurrentMigrationIdstringread, writeo.CurrentMigrationId o.CurrentMigrationId = v
AnyOperationPerformedboolread, writeo.AnyOperationPerformed o.AnyOperationPerformed = v
DatabaseLockIMigrationsDatabaseLockread, writeo.DatabaseLock o.DatabaseLock = v
TransactionIDbContextTransactionread, writeo.Transaction o.Transaction = v
MigrationsAnnotationProvider class

Microsoft.EntityFrameworkCore.Migrations.MigrationsAnnotationProvider · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationsAnnotationProvider(MigrationsAnnotationProviderDependencies dependencies)

Ring: new MigrationsAnnotationProvider(args) uses one constructor; the others are chosen by the parameter names: new MigrationsAnnotationProvider().@New([ :param = value ]) or dnNew("MigrationsAnnotationProvider",[ :param = value ]).

Methods

MethodRing call.NET overloads
ForRemovecallMethod("ForRemove",[p1])IEnumerable<IAnnotation> ForRemove(IRelationalModel model)
IEnumerable<IAnnotation> ForRemove(ITable table)
IEnumerable<IAnnotation> ForRemove(IColumn column)
IEnumerable<IAnnotation> ForRemove(IView view)
IEnumerable<IAnnotation> ForRemove(IViewColumn column)
IEnumerable<IAnnotation> ForRemove(IUniqueConstraint constraint)
IEnumerable<IAnnotation> ForRemove(ITableIndex index)
IEnumerable<IAnnotation> ForRemove(IForeignKeyConstraint foreignKey)
IEnumerable<IAnnotation> ForRemove(ISequence sequence)
IEnumerable<IAnnotation> ForRemove(ICheckConstraint checkConstraint)
ForRenamecallMethod("ForRename",[p1])IEnumerable<IAnnotation> ForRename(ITable table)
IEnumerable<IAnnotation> ForRename(IColumn column)
IEnumerable<IAnnotation> ForRename(ITableIndex index)
IEnumerable<IAnnotation> ForRename(ISequence sequence)
MigrationsAnnotationProviderDependencies class sealed

Microsoft.EntityFrameworkCore.Migrations.MigrationsAnnotationProviderDependencies · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationsAnnotationProviderDependencies()

Ring: new MigrationsAnnotationProviderDependencies(args) uses one constructor; the others are chosen by the parameter names: new MigrationsAnnotationProviderDependencies().@New([ :param = value ]) or dnNew("MigrationsAnnotationProviderDependencies",[ :param = value ]).

Methods

MethodRing call.NET overloads
<Clone>$callMethod("<Clone>$",[])MigrationsAnnotationProviderDependencies <Clone>$()
EqualsEquals(p1)bool Equals(object obj)
bool Equals(MigrationsAnnotationProviderDependencies other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
MigrationsAssemblyExtensions class static

Microsoft.EntityFrameworkCore.Migrations.MigrationsAssemblyExtensions · assembly Microsoft.EntityFrameworkCore.Relational

Methods

MethodRing call.NET overloads
GetMigrationIdGetMigrationId(p1,p2)static string GetMigrationId(IMigrationsAssembly assembly, string nameOrId)
MigrationsSqlGenerator class

Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationsSqlGenerator(MigrationsSqlGeneratorDependencies dependencies)

Ring: new MigrationsSqlGenerator(args) uses one constructor; the others are chosen by the parameter names: new MigrationsSqlGenerator().@New([ :param = value ]) or dnNew("MigrationsSqlGenerator",[ :param = value ]).

Methods

MethodRing call.NET overloads
GenerateGenerate([ :operations = …, :model = …, :options = … ])IReadOnlyList<MigrationCommand> Generate(IReadOnlyList<MigrationOperation> operations, IModel model = …, MigrationsSqlGenerationOptions options = …)
MigrationsSqlGeneratorDependencies class sealed

Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies · assembly Microsoft.EntityFrameworkCore.Relational

Constructors

new MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory commandBuilderFactory, IUpdateSqlGenerator updateSqlGenerator, ISqlGenerationHelper sqlGenerationHelper, IRelationalTypeMappingSource typeMappingSource, ICurrentDbContext currentContext, IModificationCommandFactory modificationCommandFactory, ILoggingOptions loggingOptions, IRelationalCommandDiagnosticsLogger logger, IDiagnosticsLogger<DbLoggerCategory.Migrations> migrationsLogger)

Ring: new MigrationsSqlGeneratorDependencies(args) uses one constructor; the others are chosen by the parameter names: new MigrationsSqlGeneratorDependencies().@New([ :param = value ]) or dnNew("MigrationsSqlGeneratorDependencies",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CommandBuilderFactoryIRelationalCommandBuilderFactoryread, writeo.CommandBuilderFactory o.CommandBuilderFactory = v
UpdateSqlGeneratorIUpdateSqlGeneratorread, writeo.UpdateSqlGenerator o.UpdateSqlGenerator = v
SqlGenerationHelperISqlGenerationHelperread, writeo.SqlGenerationHelper o.SqlGenerationHelper = v
TypeMappingSourceIRelationalTypeMappingSourceread, writeo.TypeMappingSource o.TypeMappingSource = v
CurrentContextICurrentDbContextread, writeo.CurrentContext o.CurrentContext = v
ModificationCommandFactoryIModificationCommandFactoryread, writeo.ModificationCommandFactory o.ModificationCommandFactory = v
LoggingOptionsILoggingOptionsread, writeo.LoggingOptions o.LoggingOptions = v
LoggerIRelationalCommandDiagnosticsLoggerread, writeo.Logger o.Logger = v
MigrationsLoggerIDiagnosticsLogger<DbLoggerCategory.Migrations>read, writeo.MigrationsLogger o.MigrationsLogger = v

Methods

MethodRing call.NET overloads
<Clone>$callMethod("<Clone>$",[])MigrationsSqlGeneratorDependencies <Clone>$()
EqualsEquals(p1)bool Equals(object obj)
bool Equals(MigrationsSqlGeneratorDependencies other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
SqliteMigrationBuilderExtensions class static

Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationBuilderExtensions · assembly Microsoft.EntityFrameworkCore.Sqlite

Methods

MethodRing call.NET overloads
IsSqliteIsSqlite(p1)static bool IsSqlite(MigrationBuilder migrationBuilder)
SqliteMigrationsSqlGenerator class · extends MigrationsSqlGenerator

Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator · assembly Microsoft.EntityFrameworkCore.Sqlite

Constructors

new SqliteMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies dependencies, IRelationalAnnotationProvider migrationsAnnotations)

Ring: new SqliteMigrationsSqlGenerator(args) uses one constructor; the others are chosen by the parameter names: new SqliteMigrationsSqlGenerator().@New([ :param = value ]) or dnNew("SqliteMigrationsSqlGenerator",[ :param = value ]).

Methods

MethodRing call.NET overloads
GenerateGenerate([ :operations = …, :model = …, :options = … ])IReadOnlyList<MigrationCommand> Generate(IReadOnlyList<MigrationOperation> operations, IModel model = …, MigrationsSqlGenerationOptions options = …)

Members of the base class are inherited.