src/Shared/EntityFramework/Infrastructure/DbEntityEntry`.cs
/// <summary>
/// Determines whether the specified <see cref="System.Object" /> is equal to this instance.
/// Two <see cref="DbEntityEntry{TEntity}" /> instances are considered equal if they are both entries for
/// the same entity on the same <see cref="DbContext" />.
/// </summary>
/// <param name="obj">
/// The <see cref="System.Object" /> to compare with this instance.
/// </param>
/// <returns>
/// <c>true</c> if the specified <see cref="System.Object" /> is equal to this instance; otherwise, <c>false</c> .
/// </returns>
Determines whether the specified  is equal to this instance.
Two  instances are considered equal if they are both entries for
the same entity on the same .
Determines whether the specified is equal to this instance . Two instances are considered equal if they are both entries for the same entity on the same .
[EditorBrowsable(EditorBrowsableState.Never)]
        public override bool Equals(object obj)
        {
            if (ReferenceEquals(null, obj)
                || obj.GetType() != typeof(DbEntityEntry<TEntity>))
            {
                return false;
            }
            return Equals((DbEntityEntry<TEntity>)obj);
        }
[ EditorBrowsable ( EditorBrowsableState . Never ) ] public override bool Equals ( object obj ) { if ( ReferenceEquals ( null , obj ) || obj . GetType ( ) != typeof ( DbEntityEntry < TEntity > ) ) { return false ; } return Equals ( ( DbEntityEntry < TEntity > ) obj ) ; }
Determines whether the specified  is equal to this instance.
Determines whether the specified is equal to this instance .
// Still hide it since it is generally not useful to see when dotting in the API.
true is equal to this instance; otherwise, false
true is equal to this instance ; otherwise false
obj
object
The  to compare with this instance.
The to compare with this instance .