共用方式為


DbInterceptionContext.GetHashCode 方法

[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]

此成員會覆寫 Object.GetHashCode()

命名空間:  System.Data.Entity.Infrastructure.Interception
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Overrides Function GetHashCode As Integer
'用途
Dim instance As DbInterceptionContext 
Dim returnValue As Integer 

returnValue = instance.GetHashCode()
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override int GetHashCode()
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public:
virtual int GetHashCode() override
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
abstract GetHashCode : unit -> int 
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
override GetHashCode : unit -> int
public override function GetHashCode() : int

傳回值

型別:System.Int32

請參閱

參考

DbInterceptionContext 類別

System.Data.Entity.Infrastructure.Interception 命名空間