DbEntityEntry<TEntity>.Equals Method (DbEntityEntry<TEntity>)

Entity Framework 5.0

Determines whether the specified DbEntityEntry<TEntity> is equal to this instance. Two DbEntityEntry<TEntity> 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<TEntity> other


Type: System.Data.Entity.Infrastructure.DbEntityEntry<TEntity>

The DbEntityEntry<TEntity> to compare with this instance.

Return Value

Type: System.Boolean
true if the specified DbEntityEntry<TEntity>is equal to this instance; otherwise false.