Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override bool Equals(
	Object obj
)

Parameters

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.
Show:
© 2015 Microsoft