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)

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

returnValue = instance.Equals(obj)

Parameters

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