DbEntityEntry<TEntity>::Equals Method
Determines whether the specified Object is equal to this instance.
Assembly: EntityFramework (in EntityFramework.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(DbEntityEntry<TEntity>^) | 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. |
![]() | Equals(Object^) | Determines whether the specified Object 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.(Overrides Object::Equals(Object^).) |
DbEntityEntry<TEntity>::Equals Method (DbEntityEntry<TEntity>^)
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.
public: [EditorBrowsableAttribute(EditorBrowsableState::Never)] bool Equals( DbEntityEntry<TEntity>^ other )
Parameters
- other
-
Type:
System.Data.Entity.Infrastructure::DbEntityEntry<TEntity>^
The DbEntityEntry<TEntity> to compare with this instance.
Return Value
Type: System::Booleantrue if the specified DbEntityEntry<TEntity> is equal to this instance; otherwise, false .
DbEntityEntry<TEntity>::Equals Method (Object^)
Determines whether the specified Object 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.
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::Booleantrue if the specified Object is equal to this instance; otherwise, false .
