Share via


IDbContextOptionsExtension.GetServiceProviderHashCode Method

Definition

Returns a hash code created from any options that would cause a new IServiceProvider to be needed. Most extensions do not have any such options and should return zero.

public long GetServiceProviderHashCode ();
abstract member GetServiceProviderHashCode : unit -> int64
Public Function GetServiceProviderHashCode () As Long

Returns

A hash over options that require a new service provider when changed.

Applies to