View Source
Interface IEFCoreScopeProvider<TDbContext>
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
Methods
View Source
AttachScope(IEfCoreScope<TDbContext>)
Declaration
void AttachScope(IEfCoreScope<TDbContext> other)
Parameters
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
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
View Source
DetachScope()
Declaration
IEfCoreScope<TDbContext> DetachScope()
Returns