Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbEntityEntry::Equals Method

 

Determines whether the specified DbEntityEntry is equal to this instance.

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

NameDescription
System_CAPS_pubmethodEquals(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_CAPS_pubmethodEquals(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.(Overrides Object::Equals(Object^).)

Return to top

DbEntityEntry::Equals Method (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.

public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
bool Equals(
	DbEntityEntry^ other
)

Parameters

other
Type: System.Data.Entity.Infrastructure::DbEntityEntry^

The DbEntityEntry to compare with this instance.

Return Value

Type: System::Boolean

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

Return to top

DbEntityEntry::Equals Method (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.

public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System::Object^

The Object to compare with this instance.

Return Value

Type: System::Boolean

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

Return to top
Show: