• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IEFCoreScopeProvider<TDbContext>

    Namespace: Umbraco.Cms.Persistence.EFCore.Scoping
    Assembly: Umbraco.Cms.Persistence.EFCore.dll
    Syntax
    public interface IEFCoreScopeProvider<TDbContext>
    Type Parameters
    Name Description
    TDbContext

    Properties

    View Source

    AmbientScopeContext

    Declaration
    IScopeContext AmbientScopeContext { get; }
    Property Value
    Type Description
    IScopeContext

    Methods

    View Source

    AttachScope(IEfCoreScope<TDbContext>)

    Declaration
    void AttachScope(IEfCoreScope<TDbContext> other)
    Parameters
    Type Name Description
    IEfCoreScope<TDbContext> other
    View Source

    CreateDetachedScope(RepositoryCacheMode, Nullable<Boolean>)

    Declaration
    IEfCoreScope<TDbContext> CreateDetachedScope(RepositoryCacheMode repositoryCacheMode = RepositoryCacheMode.Unspecified, bool? scopeFileSystems = null)
    Parameters
    Type Name Description
    RepositoryCacheMode repositoryCacheMode
    System.Nullable<System.Boolean> scopeFileSystems
    Returns
    Type Description
    IEfCoreScope<TDbContext>
    View Source

    CreateScope(RepositoryCacheMode, Nullable<Boolean>)

    Declaration
    IEfCoreScope<TDbContext> CreateScope(RepositoryCacheMode repositoryCacheMode = RepositoryCacheMode.Unspecified, bool? scopeFileSystems = null)
    Parameters
    Type Name Description
    RepositoryCacheMode repositoryCacheMode
    System.Nullable<System.Boolean> scopeFileSystems
    Returns
    Type Description
    IEfCoreScope<TDbContext>
    View Source

    DetachScope()

    Declaration
    IEfCoreScope<TDbContext> DetachScope()
    Returns
    Type Description
    IEfCoreScope<TDbContext>
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • AmbientScopeContext
    • Methods
      • AttachScope(IEfCoreScope<TDbContext>)
      • CreateDetachedScope(RepositoryCacheMode, Nullable<Boolean>)
      • CreateScope(RepositoryCacheMode, Nullable<Boolean>)
      • DetachScope()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX