Share via


DbEntityEntry.Equals Method

Definition

Overloads

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)

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)

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

The DbEntityEntry to compare with this instance.

Returns

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

Attributes

Applies to

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

The Object to compare with this instance.

Returns

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

Attributes

Applies to