< Summary

Information
Class: Elsa.Persistence.EFCore.Modules.Tenants.TenantManagementFeatureExtensions
Assembly: Elsa.Persistence.EFCore
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.EFCore/Modules/Tenants/Extensions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 18
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
UseEntityFrameworkCore(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.EFCore/Modules/Tenants/Extensions.cs

#LineLine coverage
 1using Elsa.Tenants.Features;
 2
 3namespace Elsa.Persistence.EFCore.Modules.Tenants;
 4
 5/// <summary>
 6/// Provides extensions to various management related features.
 7/// </summary>
 8public static class TenantManagementFeatureExtensions
 9{
 10    /// <summary>
 11    /// Sets up the EF Core persistence provider.
 12    /// </summary>
 13    public static TenantManagementFeature UseEntityFrameworkCore(this TenantManagementFeature feature, Action<EFCoreTena
 14    {
 015        feature.Module.Configure(configure);
 016        return feature;
 17    }
 18}