Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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.]
Determines whether the specified DbContext is equal to the current DbContext.
Namespace: System.Data.Entity
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As DbContext
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 DbContext to compare to the current DbContext.
Return Value
Type: System.Boolean
true if the specified DbContext is equal to the current DbContext; otherwise, false.