DbEntityEntry.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
true
if the specified Object is equal to this instance; otherwise, false
.
- Attributes
Applies to
Entity Framework