Langue

EntryCurrentValueComparer<TProperty>.Compare Méthode

Définition

Compare deux objets et retourne une valeur indiquant si un objet est inférieur, égal ou supérieur à l’autre.

public int Compare(Microsoft.EntityFrameworkCore.Update.IUpdateEntry? x, Microsoft.EntityFrameworkCore.Update.IUpdateEntry? y);
public int Compare(Microsoft.EntityFrameworkCore.Update.IUpdateEntry x, Microsoft.EntityFrameworkCore.Update.IUpdateEntry y);
abstract member Compare : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> int
override this.Compare : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> int
Public Function Compare (x As IUpdateEntry, y As IUpdateEntry) As Integer

Paramètres

x
IUpdateEntry

Premier objet à comparer.

y
IUpdateEntry

Deuxième objet à comparer.

Retours

Nombre négatif si 'x' est inférieur à 'y' ; un nombre positif si 'x' est supérieur à 'y' ; zéro sinon.

Implémente

S’applique à