IndexAttribute.Equals Method

Definition

Overloads

Equals(IndexAttribute)

Returns true if this attribute specifies the same name and configuration as the given attribute.

Equals(Object)

Returns true if this attribute specifies the same name and configuration as the given attribute.

Equals(IndexAttribute)

Returns true if this attribute specifies the same name and configuration as the given attribute.

protected virtual bool Equals (System.ComponentModel.DataAnnotations.Schema.IndexAttribute other);
override this.Equals : System.ComponentModel.DataAnnotations.Schema.IndexAttribute -> bool
Protected Overridable Function Equals (other As IndexAttribute) As Boolean

Parameters

other
IndexAttribute

The attribute to compare.

Returns

True if the other object is equal to this object; otherwise false.

Applies to

Equals(Object)

Returns true if this attribute specifies the same name and configuration as the given attribute.

public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The attribute to compare.

Returns

True if the other object is equal to this object; otherwise false.

Applies to