Compartilhar via


EntityKey.Equality(EntityKey, EntityKey) Operador

Definição

Compara dois objetos EntityKey.

public static bool operator == (System.Data.Entity.Core.EntityKey key1, System.Data.Entity.Core.EntityKey key2);
static member ( = ) : System.Data.Entity.Core.EntityKey * System.Data.Entity.Core.EntityKey -> bool
Public Shared Operator == (key1 As EntityKey, key2 As EntityKey) As Boolean

Parâmetros

key1
EntityKey

Um EntityKey para comparar.

key2
EntityKey

Um EntityKey para comparar.

Retornos

true se os valores key1 e key2 forem iguais; caso contrário, false.

Aplica-se a