Interface IEFCoreScopeAccessor<TDbContext>
Namespace: Umbraco.Cms.Persistence.EFCore.Scoping
Assembly: Umbraco.Cms.Persistence.EFCore.dll
Syntax
public interface IEFCoreScopeAccessor<TDbContext>
Type Parameters
| Name | Description |
|---|---|
| TDbContext |
Properties
View SourceAmbientScope
Gets the ambient scope.
Declaration
IEfCoreScope<TDbContext> AmbientScope { get; }
Property Value
| Type | Description |
|---|---|
| IEfCoreScope<TDbContext> |
Remarks
Returns null if there is no ambient scope.