DbSet.Equals Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Returns whether the specified set is equal to the current set.

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

public override bool Equals(
	Object obj


Type: System.Object
The set to compare with the current object.

Return Value

Type: System.Boolean
true if the specified object is equal to the current set; otherwise, false.