ServiceProviderCache ServiceProviderCache Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class ServiceProviderCachePublic Class ServiceProviderCache

Inheritance Hierarchy

  • System.Object
    System.Object
  • ServiceProviderCache
    ServiceProviderCache

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties

  • Instance
    Instance

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static ServiceProviderCache Instance { get; }Public Shared ReadOnly Property Instance As ServiceProviderCache

    Property Value

Methods

  • GetOrAdd(IDbContextOptions)
    GetOrAdd(IDbContextOptions)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual IServiceProvider GetOrAdd(IDbContextOptions options)Public Overridable Function GetOrAdd(options As IDbContextOptions) As IServiceProvider

    Parameters

    Returns

    • System.IServiceProvider
      System.IServiceProvider

Details

Assembly

Microsoft.EntityFrameworkCore.dll