MigrationsModelDiffer MigrationsModelDiffer Class

Definition

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

public class MigrationsModelDiffer : IMigrationsModelDiffer
Public Class MigrationsModelDiffer
    Implements IMigrationsModelDiffer
Inheritance
System.ObjectSystem.Object
MigrationsModelDifferMigrationsModelDiffer
Implements

Constructors

MigrationsModelDiffer(IRelationalTypeMapper, IRelationalAnnotationProvider, IMigrationsAnnotationProvider) MigrationsModelDiffer(IRelationalTypeMapper, IRelationalAnnotationProvider, IMigrationsAnnotationProvider)

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

public MigrationsModelDiffer(IRelationalTypeMapper typeMapper, IRelationalAnnotationProvider annotations, IMigrationsAnnotationProvider migrationsAnnotations)
Public Sub New(typeMapper As IRelationalTypeMapper, annotations As IRelationalAnnotationProvider, migrationsAnnotations As IMigrationsAnnotationProvider)
Parameters

Properties

Annotations Annotations

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

protected virtual IRelationalAnnotationProvider Annotations { get; }
Protected Overridable ReadOnly Property Annotations As IRelationalAnnotationProvider

MigrationsAnnotations MigrationsAnnotations

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

protected virtual IMigrationsAnnotationProvider MigrationsAnnotations { get; }
Protected Overridable ReadOnly Property MigrationsAnnotations As IMigrationsAnnotationProvider

TypeMapper TypeMapper

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

protected virtual IRelationalTypeMapper TypeMapper { get; }
Protected Overridable ReadOnly Property TypeMapper As IRelationalTypeMapper

Methods

Add(IEntityType, MigrationsModelDiffer.DiffContext) Add(IEntityType, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Add(IEntityType target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Add(target As IEntityType, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Add(IForeignKey, MigrationsModelDiffer.DiffContext) Add(IForeignKey, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Add(IForeignKey target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Add(target As IForeignKey, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Add(IIndex, MigrationsModelDiffer.DiffContext) Add(IIndex, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Add(IIndex target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Add(target As IIndex, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
target
IIndex IIndex
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Add(IKey, MigrationsModelDiffer.DiffContext) Add(IKey, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Add(IKey target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Add(target As IKey, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
target
IKey IKey
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Add(IModel, MigrationsModelDiffer.DiffContext) Add(IModel, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Add(IModel target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Add(target As IModel, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
target
IModel IModel
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Add(IProperty, MigrationsModelDiffer.DiffContext, Boolean) Add(IProperty, MigrationsModelDiffer.DiffContext, Boolean)

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

protected virtual IEnumerable<MigrationOperation> Add(IProperty target, MigrationsModelDiffer.DiffContext diffContext, bool inline = false)
Protected Overridable Function Add(target As IProperty, diffContext As MigrationsModelDiffer.DiffContext, inline As Boolean = False) As IEnumerable(Of MigrationOperation)
Parameters
inline
System.Boolean System.Boolean
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Add(ISequence) Add(ISequence)

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

protected virtual IEnumerable<MigrationOperation> Add(ISequence target)
Protected Overridable Function Add(target As ISequence) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Add(String) Add(String)

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

protected virtual IEnumerable<MigrationOperation> Add(string target)
Protected Overridable Function Add(target As String) As IEnumerable(Of MigrationOperation)
Parameters
target
System.String System.String
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEntityType, IEntityType, MigrationsModelDiffer.DiffContext) Diff(IEntityType, IEntityType, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IEntityType source, IEntityType target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IEntityType, target As IEntityType, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEnumerable, IEnumerable, MigrationsModelDiffer.DiffContext) Diff(IEnumerable(Of IEntityType), IEnumerable(Of IEntityType), MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IEntityType> source, IEnumerable<IEntityType> target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IEnumerable(Of IEntityType), target As IEnumerable(Of IEntityType), diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
System.Collections.Generic.IEnumerable<IEntityType> System.Collections.Generic.IEnumerable(Of IEntityType)
target
System.Collections.Generic.IEnumerable<IEntityType> System.Collections.Generic.IEnumerable(Of IEntityType)
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEnumerable, IEnumerable, MigrationsModelDiffer.DiffContext) Diff(IEnumerable(Of IForeignKey), IEnumerable(Of IForeignKey), MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IForeignKey> source, IEnumerable<IForeignKey> target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IEnumerable(Of IForeignKey), target As IEnumerable(Of IForeignKey), diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
System.Collections.Generic.IEnumerable<IForeignKey> System.Collections.Generic.IEnumerable(Of IForeignKey)
target
System.Collections.Generic.IEnumerable<IForeignKey> System.Collections.Generic.IEnumerable(Of IForeignKey)
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEnumerable, IEnumerable, MigrationsModelDiffer.DiffContext) Diff(IEnumerable(Of IIndex), IEnumerable(Of IIndex), MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IIndex> source, IEnumerable<IIndex> target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IEnumerable(Of IIndex), target As IEnumerable(Of IIndex), diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
System.Collections.Generic.IEnumerable<IIndex> System.Collections.Generic.IEnumerable(Of IIndex)
target
System.Collections.Generic.IEnumerable<IIndex> System.Collections.Generic.IEnumerable(Of IIndex)
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEnumerable, IEnumerable, MigrationsModelDiffer.DiffContext) Diff(IEnumerable(Of IKey), IEnumerable(Of IKey), MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IKey> source, IEnumerable<IKey> target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IEnumerable(Of IKey), target As IEnumerable(Of IKey), diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
System.Collections.Generic.IEnumerable<IKey> System.Collections.Generic.IEnumerable(Of IKey)
target
System.Collections.Generic.IEnumerable<IKey> System.Collections.Generic.IEnumerable(Of IKey)
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEnumerable, IEnumerable, MigrationsModelDiffer.DiffContext) Diff(IEnumerable(Of IProperty), IEnumerable(Of IProperty), MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<IProperty> source, IEnumerable<IProperty> target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IEnumerable(Of IProperty), target As IEnumerable(Of IProperty), diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
System.Collections.Generic.IEnumerable<IProperty> System.Collections.Generic.IEnumerable(Of IProperty)
target
System.Collections.Generic.IEnumerable<IProperty> System.Collections.Generic.IEnumerable(Of IProperty)
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEnumerable, IEnumerable) Diff(IEnumerable(Of ISequence), IEnumerable(Of ISequence))

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

protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<ISequence> source, IEnumerable<ISequence> target)
Protected Overridable Function Diff(source As IEnumerable(Of ISequence), target As IEnumerable(Of ISequence)) As IEnumerable(Of MigrationOperation)
Parameters
source
System.Collections.Generic.IEnumerable<ISequence> System.Collections.Generic.IEnumerable(Of ISequence)
target
System.Collections.Generic.IEnumerable<ISequence> System.Collections.Generic.IEnumerable(Of ISequence)
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IEnumerable, IEnumerable) Diff(IEnumerable(Of String), IEnumerable(Of String))

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

protected virtual IEnumerable<MigrationOperation> Diff(IEnumerable<string> source, IEnumerable<string> target)
Protected Overridable Function Diff(source As IEnumerable(Of String), target As IEnumerable(Of String)) As IEnumerable(Of MigrationOperation)
Parameters
source
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.String)
target
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.String)
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IForeignKey, IForeignKey, MigrationsModelDiffer.DiffContext) Diff(IForeignKey, IForeignKey, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IForeignKey source, IForeignKey target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IForeignKey, target As IForeignKey, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IIndex, IIndex, MigrationsModelDiffer.DiffContext) Diff(IIndex, IIndex, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IIndex source, IIndex target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IIndex, target As IIndex, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
IIndex IIndex
target
IIndex IIndex
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IKey, IKey, MigrationsModelDiffer.DiffContext) Diff(IKey, IKey, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IKey source, IKey target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IKey, target As IKey, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
IKey IKey
target
IKey IKey
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IModel, IModel, MigrationsModelDiffer.DiffContext) Diff(IModel, IModel, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Diff(IModel source, IModel target, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Diff(source As IModel, target As IModel, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
IModel IModel
target
IModel IModel
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(IProperty, IProperty) Diff(IProperty, IProperty)

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

protected virtual IEnumerable<MigrationOperation> Diff(IProperty source, IProperty target)
Protected Overridable Function Diff(source As IProperty, target As IProperty) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(ISequence, ISequence) Diff(ISequence, ISequence)

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

protected virtual IEnumerable<MigrationOperation> Diff(ISequence source, ISequence target)
Protected Overridable Function Diff(source As ISequence, target As ISequence) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Diff(String, String) Diff(String, String)

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

protected virtual IEnumerable<MigrationOperation> Diff(string source, string target)
Protected Overridable Function Diff(source As String, target As String) As IEnumerable(Of MigrationOperation)
Parameters
source
System.String System.String
target
System.String System.String
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

DiffCollection(IEnumerable, IEnumerable, Func>, Func>, Func>, Func[]) DiffCollection(Of T)(IEnumerable(Of T), IEnumerable(Of T), Func(Of T, T, IEnumerable(Of MigrationOperation)), Func(Of T, IEnumerable(Of MigrationOperation)), Func(Of T, IEnumerable(Of MigrationOperation)), Func(Of T, T, Boolean)())

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

protected virtual IEnumerable<MigrationOperation> DiffCollection<T>(IEnumerable<T> sources, IEnumerable<T> targets, Func<T, T, IEnumerable<MigrationOperation>> diff, Func<T, IEnumerable<MigrationOperation>> add, Func<T, IEnumerable<MigrationOperation>> remove, params Func<T, T, bool>[] predicates)
Protected Overridable Function DiffCollection(Of T)(sources As IEnumerable(Of T), targets As IEnumerable(Of T), diff As Func(Of T, T, IEnumerable(Of MigrationOperation)), add As Func(Of T, IEnumerable(Of MigrationOperation)), remove As Func(Of T, IEnumerable(Of MigrationOperation)), ParamArray predicates As Func(Of T, T, Boolean)()) As IEnumerable(Of MigrationOperation)
Type Parameters
T
Parameters
sources
System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IEnumerable(Of T)
targets
System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IEnumerable(Of T)
diff
System.Func<T, T, System.Collections.Generic.IEnumerable<MigrationOperation>> System.Func(Of T, T, System.Collections.Generic.IEnumerable(Of MigrationOperation))
add
System.Func<T, System.Collections.Generic.IEnumerable<MigrationOperation>> System.Func(Of T, System.Collections.Generic.IEnumerable(Of MigrationOperation))
remove
System.Func<T, System.Collections.Generic.IEnumerable<MigrationOperation>> System.Func(Of T, System.Collections.Generic.IEnumerable(Of MigrationOperation))
predicates
System.Func<T, T, System.Boolean>[] System.Func(Of T, T, System.Boolean)()
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetColumns(IEnumerable) GetColumns(IEnumerable(Of IProperty))

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

protected virtual string[] GetColumns(IEnumerable<IProperty> properties)
Protected Overridable Function GetColumns(properties As IEnumerable(Of IProperty)) As String()
Parameters
properties
System.Collections.Generic.IEnumerable<IProperty> System.Collections.Generic.IEnumerable(Of IProperty)
Returns
System.String[] System.String()

GetDefaultValue(Type) GetDefaultValue(Type)

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

protected virtual object GetDefaultValue(Type type)
Protected Overridable Function GetDefaultValue(type As Type) As Object
Parameters
type
System.Type System.Type
Returns
System.Object System.Object

GetDifferences(IModel, IModel) GetDifferences(IModel, IModel)

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

public virtual IReadOnlyList<MigrationOperation> GetDifferences(IModel source, IModel target)
Public Overridable Function GetDifferences(source As IModel, target As IModel) As IReadOnlyList(Of MigrationOperation)
Parameters
source
IModel IModel
target
IModel IModel
Returns
System.Collections.Generic.IReadOnlyList<MigrationOperation> System.Collections.Generic.IReadOnlyList(Of MigrationOperation)

GetHashCode() GetHashCode()

Inherited from System.Object

GetSchemas(IModel) GetSchemas(IModel)

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

protected virtual IEnumerable<string> GetSchemas(IModel model)
Protected Overridable Function GetSchemas(model As IModel) As IEnumerable(Of String)
Parameters
model
IModel IModel
Returns
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.String)

GetType() GetType()

Inherited from System.Object

HasDifferences(IEnumerable, IEnumerable) HasDifferences(IEnumerable(Of IAnnotation), IEnumerable(Of IAnnotation))

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

protected virtual bool HasDifferences(IEnumerable<IAnnotation> source, IEnumerable<IAnnotation> target)
Protected Overridable Function HasDifferences(source As IEnumerable(Of IAnnotation), target As IEnumerable(Of IAnnotation)) As Boolean
Parameters
source
System.Collections.Generic.IEnumerable<IAnnotation> System.Collections.Generic.IEnumerable(Of IAnnotation)
target
System.Collections.Generic.IEnumerable<IAnnotation> System.Collections.Generic.IEnumerable(Of IAnnotation)
Returns
System.Boolean System.Boolean

HasDifferences(IModel, IModel) HasDifferences(IModel, IModel)

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

public virtual bool HasDifferences(IModel source, IModel target)
Public Overridable Function HasDifferences(source As IModel, target As IModel) As Boolean
Parameters
source
IModel IModel
target
IModel IModel
Returns
System.Boolean System.Boolean

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

Remove(IEntityType, MigrationsModelDiffer.DiffContext) Remove(IEntityType, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Remove(IEntityType source, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Remove(source As IEntityType, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Remove(IForeignKey, MigrationsModelDiffer.DiffContext) Remove(IForeignKey, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Remove(IForeignKey source, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Remove(source As IForeignKey, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Remove(IIndex) Remove(IIndex)

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

protected virtual IEnumerable<MigrationOperation> Remove(IIndex source)
Protected Overridable Function Remove(source As IIndex) As IEnumerable(Of MigrationOperation)
Parameters
source
IIndex IIndex
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Remove(IKey, MigrationsModelDiffer.DiffContext) Remove(IKey, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Remove(IKey source, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Remove(source As IKey, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
IKey IKey
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Remove(IModel, MigrationsModelDiffer.DiffContext) Remove(IModel, MigrationsModelDiffer.DiffContext)

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

protected virtual IEnumerable<MigrationOperation> Remove(IModel source, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Remove(source As IModel, diffContext As MigrationsModelDiffer.DiffContext) As IEnumerable(Of MigrationOperation)
Parameters
source
IModel IModel
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Remove(IProperty) Remove(IProperty)

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

protected virtual IEnumerable<MigrationOperation> Remove(IProperty source)
Protected Overridable Function Remove(source As IProperty) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Remove(ISequence) Remove(ISequence)

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

protected virtual IEnumerable<MigrationOperation> Remove(ISequence source)
Protected Overridable Function Remove(source As ISequence) As IEnumerable(Of MigrationOperation)
Parameters
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Remove(String) Remove(String)

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

protected virtual IEnumerable<MigrationOperation> Remove(string source)
Protected Overridable Function Remove(source As String) As IEnumerable(Of MigrationOperation)
Parameters
source
System.String System.String
Returns
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)

Sort(IEnumerable, MigrationsModelDiffer.DiffContext) Sort(IEnumerable(Of MigrationOperation), MigrationsModelDiffer.DiffContext)

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

protected virtual IReadOnlyList<MigrationOperation> Sort(IEnumerable<MigrationOperation> operations, MigrationsModelDiffer.DiffContext diffContext)
Protected Overridable Function Sort(operations As IEnumerable(Of MigrationOperation), diffContext As MigrationsModelDiffer.DiffContext) As IReadOnlyList(Of MigrationOperation)
Parameters
operations
System.Collections.Generic.IEnumerable<MigrationOperation> System.Collections.Generic.IEnumerable(Of MigrationOperation)
Returns
System.Collections.Generic.IReadOnlyList<MigrationOperation> System.Collections.Generic.IReadOnlyList(Of MigrationOperation)

ToString() ToString()

Inherited from System.Object