Share via


DbContext.GetHashCode 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 the hash function for this DBContext.

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

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override int GetHashCode()

Return Value

Type: System.Int32
The hash function for this DbContext.

See Also

Reference

DbContext Class

System.Data.Entity Namespace