Class MigrationsModelDiffer
- Namespace
- Microsoft.EntityFrameworkCore.Migrations.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class MigrationsModelDiffer : IMigrationsModelDiffer
- Inheritance
-
MigrationsModelDiffer
- Implements
- Inherited Members
Constructors
MigrationsModelDiffer(IRelationalTypeMappingSource, IMigrationsAnnotationProvider, IRowIdentityMapFactory, CommandBatchPreparerDependencies)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public MigrationsModelDiffer(IRelationalTypeMappingSource typeMappingSource, IMigrationsAnnotationProvider migrationsAnnotationProvider, IRowIdentityMapFactory rowIdentityMapFactory, CommandBatchPreparerDependencies commandBatchPreparerDependencies)
Parameters
typeMappingSourceIRelationalTypeMappingSourcemigrationsAnnotationProviderIMigrationsAnnotationProviderrowIdentityMapFactoryIRowIdentityMapFactorycommandBatchPreparerDependenciesCommandBatchPreparerDependencies
Properties
CommandBatchPreparerDependencies
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual CommandBatchPreparerDependencies CommandBatchPreparerDependencies { get; }
Property Value
MigrationsAnnotationProvider
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IMigrationsAnnotationProvider MigrationsAnnotationProvider { get; }
Property Value
RowIdentityMapFactory
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IRowIdentityMapFactory RowIdentityMapFactory { get; }
Property Value
TypeMappingSource
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IRelationalTypeMappingSource TypeMappingSource { get; }
Property Value
Methods
Add(ICheckConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(ICheckConstraint target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetICheckConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Add(IColumn, DiffContext, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(IColumn target, MigrationsModelDiffer.DiffContext diffContext, bool inline = false)
Parameters
targetIColumndiffContextMigrationsModelDiffer.DiffContextinlinebool
Returns
Add(IForeignKeyConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(IForeignKeyConstraint target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetIForeignKeyConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Add(IRelationalModel, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(IRelationalModel target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetIRelationalModeldiffContextMigrationsModelDiffer.DiffContext
Returns
Add(ISequence, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(ISequence target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetISequencediffContextMigrationsModelDiffer.DiffContext
Returns
Add(ITable, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(ITable target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetITablediffContextMigrationsModelDiffer.DiffContext
Returns
Add(ITableIndex, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(ITableIndex target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetITableIndexdiffContextMigrationsModelDiffer.DiffContext
Returns
Add(IUniqueConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(IUniqueConstraint target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetIUniqueConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Add(string, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Add(string target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
targetstringdiffContextMigrationsModelDiffer.DiffContext
Returns
Diff(ICheckConstraint, ICheckConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(ICheckConstraint source, ICheckConstraint target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceICheckConstrainttargetICheckConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IColumn, IColumn, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IColumn source, IColumn target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIColumntargetIColumndiffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IForeignKeyConstraint, IForeignKeyConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IForeignKeyConstraint source, IForeignKeyConstraint target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIForeignKeyConstrainttargetIForeignKeyConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IRelationalModel?, IRelationalModel?, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IRelationalModel? source, IRelationalModel? target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIRelationalModeltargetIRelationalModeldiffContextMigrationsModelDiffer.DiffContext
Returns
Diff(ISequence, ISequence, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(ISequence source, ISequence target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceISequencetargetISequencediffContextMigrationsModelDiffer.DiffContext
Returns
Diff(ITable, ITable, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(ITable source, ITable target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceITabletargetITablediffContextMigrationsModelDiffer.DiffContext
Returns
Diff(ITableIndex, ITableIndex, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(ITableIndex source, ITableIndex target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceITableIndextargetITableIndexdiffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IUniqueConstraint, IUniqueConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IUniqueConstraint source, IUniqueConstraint target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIUniqueConstrainttargetIUniqueConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<ICheckConstraint>, IEnumerable<ICheckConstraint>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<ICheckConstraint> source, IEnumerable<ICheckConstraint> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<ICheckConstraint>targetIEnumerable<ICheckConstraint>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<IColumn>, IEnumerable<IColumn>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IColumn> source, IEnumerable<IColumn> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<IColumn>targetIEnumerable<IColumn>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<IForeignKeyConstraint>, IEnumerable<IForeignKeyConstraint>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IForeignKeyConstraint> source, IEnumerable<IForeignKeyConstraint> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<IForeignKeyConstraint>targetIEnumerable<IForeignKeyConstraint>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<ISequence>, IEnumerable<ISequence>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<ISequence> source, IEnumerable<ISequence> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<ISequence>targetIEnumerable<ISequence>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<ITableIndex>, IEnumerable<ITableIndex>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<ITableIndex> source, IEnumerable<ITableIndex> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<ITableIndex>targetIEnumerable<ITableIndex>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<ITable>, IEnumerable<ITable>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<ITable> source, IEnumerable<ITable> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<ITable>targetIEnumerable<ITable>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<IUniqueConstraint>, IEnumerable<IUniqueConstraint>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IUniqueConstraint> source, IEnumerable<IUniqueConstraint> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<IUniqueConstraint>targetIEnumerable<IUniqueConstraint>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(IEnumerable<string>, IEnumerable<string>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<string> source, IEnumerable<string> target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIEnumerable<string>targetIEnumerable<string>diffContextMigrationsModelDiffer.DiffContext
Returns
Diff(string, string, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Diff(string source, string target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourcestringtargetstringdiffContextMigrationsModelDiffer.DiffContext
Returns
DiffCollection<T>(IEnumerable<T>, IEnumerable<T>, DiffContext, Func<T, T, DiffContext, IEnumerable<MigrationOperation>>, Func<T, DiffContext, IEnumerable<MigrationOperation>>, Func<T, DiffContext, IEnumerable<MigrationOperation>>, params Func<T, T, DiffContext, bool>[])
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> DiffCollection<T>(IEnumerable<T> sources, IEnumerable<T> targets, MigrationsModelDiffer.DiffContext diffContext, Func<T, T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>> diff, Func<T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>> add, Func<T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>> remove, params Func<T, T, MigrationsModelDiffer.DiffContext, bool>[] predicates) where T : notnull
Parameters
sourcesIEnumerable<T>targetsIEnumerable<T>diffContextMigrationsModelDiffer.DiffContextdiffFunc<T, T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>>addFunc<T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>>removeFunc<T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>>predicatesFunc<T, T, DiffContext, bool>[]
Returns
Type Parameters
T
DiffData(IRelationalModel?, IRelationalModel?, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual void DiffData(IRelationalModel? source, IRelationalModel? target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIRelationalModeltargetIRelationalModeldiffContextMigrationsModelDiffer.DiffContext
GetDataOperations(IRelationalModel?, IRelationalModel?, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> GetDataOperations(IRelationalModel? source, IRelationalModel? target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIRelationalModeltargetIRelationalModeldiffContextMigrationsModelDiffer.DiffContext
Returns
GetDefaultValue(Type)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual object? GetDefaultValue(Type type)
Parameters
typeType
Returns
GetDifferences(IRelationalModel?, IRelationalModel?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IReadOnlyList<MigrationOperation> GetDifferences(IRelationalModel? source, IRelationalModel? target)
Parameters
sourceIRelationalModeltargetIRelationalModel
Returns
GetSchemas(IRelationalModel)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<string> GetSchemas(IRelationalModel model)
Parameters
modelIRelationalModel
Returns
HasDifferences(IRelationalModel?, IRelationalModel?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool HasDifferences(IRelationalModel? source, IRelationalModel? target)
Parameters
sourceIRelationalModeltargetIRelationalModel
Returns
HasDifferences(IEnumerable<IAnnotation>, IEnumerable<IAnnotation>)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual bool HasDifferences(IEnumerable<IAnnotation> source, IEnumerable<IAnnotation> target)
Parameters
sourceIEnumerable<IAnnotation>targetIEnumerable<IAnnotation>
Returns
Remove(ICheckConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(ICheckConstraint source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceICheckConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Remove(IColumn, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(IColumn source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIColumndiffContextMigrationsModelDiffer.DiffContext
Returns
Remove(IForeignKeyConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(IForeignKeyConstraint source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIForeignKeyConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Remove(IRelationalModel, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(IRelationalModel source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIRelationalModeldiffContextMigrationsModelDiffer.DiffContext
Returns
Remove(ISequence, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(ISequence source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceISequencediffContextMigrationsModelDiffer.DiffContext
Returns
Remove(ITable, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(ITable source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceITablediffContextMigrationsModelDiffer.DiffContext
Returns
Remove(ITableIndex, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(ITableIndex source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceITableIndexdiffContextMigrationsModelDiffer.DiffContext
Returns
Remove(IUniqueConstraint, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(IUniqueConstraint source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIUniqueConstraintdiffContextMigrationsModelDiffer.DiffContext
Returns
Remove(string, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IEnumerable<MigrationOperation> Remove(string source, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourcestringdiffContextMigrationsModelDiffer.DiffContext
Returns
Sort(IEnumerable<MigrationOperation>, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual IReadOnlyList<MigrationOperation> Sort(IEnumerable<MigrationOperation> operations, MigrationsModelDiffer.DiffContext diffContext)
Parameters
operationsIEnumerable<MigrationOperation>diffContextMigrationsModelDiffer.DiffContext
Returns
TrackData(IRelationalModel?, IRelationalModel?, DiffContext)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual void TrackData(IRelationalModel? source, IRelationalModel? target, MigrationsModelDiffer.DiffContext diffContext)
Parameters
sourceIRelationalModeltargetIRelationalModeldiffContextMigrationsModelDiffer.DiffContext