DbSqlQuery<TEntity>.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.]
Specifies whether this instance is equal to a specified object.
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As DbSqlQuery
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override bool Equals(
Object obj
)
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public:
virtual bool Equals(
Object^ obj
) override
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
abstract Equals :
obj:Object -> bool
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
override Equals :
obj:Object -> bool
public override function Equals(
obj : Object
) : boolean
Parameters
- obj
Type: System.Object
The object to compare.
Return Value
Type: System.Boolean
true if this instance is equal to a specified object; otherwise, false.