IndexAttribute.Equals-Methode (IndexAttribute)
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Bestimmt, ob dieses Attribut den gleichen Namen und die gleiche Konfiguration angibt, wie das angegebene Attribut.
Namespace: System.ComponentModel.DataAnnotations.Schema
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Protected Overridable Function Equals ( _
other As IndexAttribute _
) As Boolean
'Usage
Dim other As IndexAttribute
Dim returnValue As Boolean
returnValue = Me.Equals(other)
protected virtual bool Equals(
IndexAttribute other
)
protected:
virtual bool Equals(
IndexAttribute^ other
)
abstract Equals :
other:IndexAttribute -> bool
override Equals :
other:IndexAttribute -> bool
protected function Equals(
other : IndexAttribute
) : boolean
Parameter
- other
Typ: System.ComponentModel.DataAnnotations.Schema.IndexAttribute
Das zu vergleichende Attribut.
Rückgabewert
Typ: System.Boolean
true , wenn das andere Objekt gleich diesem Objekt ist; andernfalls false.