Table of Contents

Class DistributedLockSettingsBuilderEntityFrameworkExtensions

Namespace
Silverback.Configuration
Assembly
Silverback.Storage.EntityFramework.dll
public static class DistributedLockSettingsBuilderEntityFrameworkExtensions
Inheritance
DistributedLockSettingsBuilderEntityFrameworkExtensions
Inherited Members

Methods

UseDbContext<TDbContext>(DistributedLockSettingsBuilder, string)

Configures the Entity Framework based lock.

public static EntityFrameworkLockSettingsBuilder UseDbContext<TDbContext>(this DistributedLockSettingsBuilder builder, string lockName) where TDbContext : DbContext

Parameters

builder DistributedLockSettingsBuilder

The DistributedLockSettingsBuilder.

lockName string

The lock name.

Returns

EntityFrameworkLockSettingsBuilder

The EntityFrameworkLockSettingsBuilder.

Type Parameters

TDbContext

The type of the DbContext.