Share via


IMigrationsModelDiffer.HasDifferences Method

Definition

Overloads

Name Description
HasDifferences(IModel, IModel)

Checks whether or not there are differences between the two models.

HasDifferences(IRelationalModel, IRelationalModel)

Checks whether there are differences between the two models.

HasDifferences(IModel, IModel)

Checks whether or not there are differences between the two models.

public bool HasDifferences(Microsoft.EntityFrameworkCore.Metadata.IModel source, Microsoft.EntityFrameworkCore.Metadata.IModel target);
abstract member HasDifferences : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.IModel -> bool
Public Function HasDifferences (source As IModel, target As IModel) As Boolean

Parameters

source
IModel

The first model.

target
IModel

The second model.

Returns

True

Applies to

HasDifferences(IRelationalModel, IRelationalModel)

Source:
IMigrationsModelDiffer.cs
Source:
IMigrationsModelDiffer.cs
Source:
IMigrationsModelDiffer.cs
Source:
IMigrationsModelDiffer.cs

Checks whether there are differences between the two models.

public bool HasDifferences(Microsoft.EntityFrameworkCore.Metadata.IRelationalModel? source, Microsoft.EntityFrameworkCore.Metadata.IRelationalModel? target);
public bool HasDifferences(Microsoft.EntityFrameworkCore.Metadata.IRelationalModel source, Microsoft.EntityFrameworkCore.Metadata.IRelationalModel target);
abstract member HasDifferences : Microsoft.EntityFrameworkCore.Metadata.IRelationalModel * Microsoft.EntityFrameworkCore.Metadata.IRelationalModel -> bool
Public Function HasDifferences (source As IRelationalModel, target As IRelationalModel) As Boolean

Parameters

source
IRelationalModel

The first model.

target
IRelationalModel

The second model.

Returns

true if there are any differences and false otherwise.

Applies to