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
typeMappingSource
IRelationalTypeMappingSourcemigrationsAnnotationProvider
IMigrationsAnnotationProviderrowIdentityMapFactory
IRowIdentityMapFactorycommandBatchPreparerDependencies
CommandBatchPreparerDependencies
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
target
ICheckConstraintdiffContext
MigrationsModelDiffer.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
target
IColumndiffContext
MigrationsModelDiffer.DiffContextinline
bool
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
target
IForeignKeyConstraintdiffContext
MigrationsModelDiffer.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
target
IRelationalModeldiffContext
MigrationsModelDiffer.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
target
ISequencediffContext
MigrationsModelDiffer.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
target
ITablediffContext
MigrationsModelDiffer.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
target
ITableIndexdiffContext
MigrationsModelDiffer.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
target
IUniqueConstraintdiffContext
MigrationsModelDiffer.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
target
stringdiffContext
MigrationsModelDiffer.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
source
ICheckConstrainttarget
ICheckConstraintdiffContext
MigrationsModelDiffer.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
source
IColumntarget
IColumndiffContext
MigrationsModelDiffer.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
source
IForeignKeyConstrainttarget
IForeignKeyConstraintdiffContext
MigrationsModelDiffer.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
source
IRelationalModeltarget
IRelationalModeldiffContext
MigrationsModelDiffer.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
source
ISequencetarget
ISequencediffContext
MigrationsModelDiffer.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
source
ITabletarget
ITablediffContext
MigrationsModelDiffer.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
source
ITableIndextarget
ITableIndexdiffContext
MigrationsModelDiffer.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
source
IUniqueConstrainttarget
IUniqueConstraintdiffContext
MigrationsModelDiffer.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
source
IEnumerable<ICheckConstraint>target
IEnumerable<ICheckConstraint>diffContext
MigrationsModelDiffer.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
source
IEnumerable<IColumn>target
IEnumerable<IColumn>diffContext
MigrationsModelDiffer.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
source
IEnumerable<IForeignKeyConstraint>target
IEnumerable<IForeignKeyConstraint>diffContext
MigrationsModelDiffer.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
source
IEnumerable<ISequence>target
IEnumerable<ISequence>diffContext
MigrationsModelDiffer.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
source
IEnumerable<ITableIndex>target
IEnumerable<ITableIndex>diffContext
MigrationsModelDiffer.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
source
IEnumerable<ITable>target
IEnumerable<ITable>diffContext
MigrationsModelDiffer.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
source
IEnumerable<IUniqueConstraint>target
IEnumerable<IUniqueConstraint>diffContext
MigrationsModelDiffer.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
source
IEnumerable<string>target
IEnumerable<string>diffContext
MigrationsModelDiffer.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
source
stringtarget
stringdiffContext
MigrationsModelDiffer.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
sources
IEnumerable<T>targets
IEnumerable<T>diffContext
MigrationsModelDiffer.DiffContextdiff
Func<T, T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>>add
Func<T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>>remove
Func<T, MigrationsModelDiffer.DiffContext, IEnumerable<MigrationOperation>>predicates
Func<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
source
IRelationalModeltarget
IRelationalModeldiffContext
MigrationsModelDiffer.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
source
IRelationalModeltarget
IRelationalModeldiffContext
MigrationsModelDiffer.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
type
Type
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
source
IRelationalModeltarget
IRelationalModel
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
model
IRelationalModel
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
source
IRelationalModeltarget
IRelationalModel
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
source
IEnumerable<IAnnotation>target
IEnumerable<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
source
ICheckConstraintdiffContext
MigrationsModelDiffer.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
source
IColumndiffContext
MigrationsModelDiffer.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
source
IForeignKeyConstraintdiffContext
MigrationsModelDiffer.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
source
IRelationalModeldiffContext
MigrationsModelDiffer.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
source
ISequencediffContext
MigrationsModelDiffer.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
source
ITablediffContext
MigrationsModelDiffer.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
source
ITableIndexdiffContext
MigrationsModelDiffer.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
source
IUniqueConstraintdiffContext
MigrationsModelDiffer.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
source
stringdiffContext
MigrationsModelDiffer.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
operations
IEnumerable<MigrationOperation>diffContext
MigrationsModelDiffer.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
source
IRelationalModeltarget
IRelationalModeldiffContext
MigrationsModelDiffer.DiffContext