DbEntityEntry.Equals DbEntityEntry.Equals DbEntityEntry.Equals Method

Definition

Overloads

Equals(DbEntityEntry) Equals(DbEntityEntry) Equals(DbEntityEntry)

Determines whether the specified DbEntityEntry is equal to this instance. Two DbEntityEntry instances are considered equal if they are both entries for the same entity on the same DbContext.

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to this instance. Two DbEntityEntry instances are considered equal if they are both entries for the same entity on the same DbContext.

Equals(DbEntityEntry) Equals(DbEntityEntry) Equals(DbEntityEntry)

Determines whether the specified DbEntityEntry is equal to this instance. Two DbEntityEntry instances are considered equal if they are both entries for the same entity on the same DbContext.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public bool Equals (System.Data.Entity.Infrastructure.DbEntityEntry other);
override this.Equals : System.Data.Entity.Infrastructure.DbEntityEntry -> bool
Public Function Equals (other As DbEntityEntry) As Boolean

Parameters

other
DbEntityEntry DbEntityEntry DbEntityEntry

The DbEntityEntry to compare with this instance.

Returns

true if the specified DbEntityEntry is equal to this instance; otherwise, false .

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to this instance. Two DbEntityEntry instances are considered equal if they are both entries for the same entity on the same DbContext.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object Object Object

The Object to compare with this instance.

Returns

true if the specified Object is equal to this instance; otherwise, false .

Applies to