DbEntityEntry.Equals Method (DbEntityEntry)

Entity Framework 5.0

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.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public bool Equals(
	DbEntityEntry other


Type: System.Data.Entity.Infrastructure.DbEntityEntry

The DbEntityEntry to compare with this instance.

Return Value

Type: System.Boolean
true if the specified DbEntityEntryis equal to this instance; otherwise false.