Condividi tramite


IMigrationsModelDiffer.HasDifferences Metodo

Definizione

Overload

HasDifferences(IModel, IModel)

Controlla se esistono o meno differenze tra i due modelli.

HasDifferences(IRelationalModel, IRelationalModel)

Controlla se esistono differenze tra i due modelli.

HasDifferences(IModel, IModel)

Controlla se esistono o meno differenze tra i due modelli.

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

Parametri

source
IModel

Primo modello.

target
IModel

Secondo modello.

Restituisce

True

Si applica a

HasDifferences(IRelationalModel, IRelationalModel)

Origine:
IMigrationsModelDiffer.cs
Origine:
IMigrationsModelDiffer.cs
Origine:
IMigrationsModelDiffer.cs

Controlla se esistono differenze tra i due modelli.

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

Parametri

source
IRelationalModel

Primo modello.

target
IRelationalModel

Secondo modello.

Restituisce

true se esistono differenze e false in caso contrario.

Si applica a