Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equals Method

DbSet(Of TEntity).Equals Method

Entity Framework 5.0

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

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

Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
Dim instance As DbSet 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = instance.Equals(obj)


Type: System.Object

The set to compare with the current object.

Return Value

Type: System.Boolean
True if the specified set is equal to the current set; otherwise, false.
© 2015 Microsoft