1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 00:03:54 +00:00

[SM-680] Add reference event logging to secrets (#2824)

* Add reference event logging to secrets

* Change to IHostEnvironment

* Fix namespace for ef service collection
This commit is contained in:
Oscar Hinton
2023-03-30 15:37:19 +02:00
committed by GitHub
parent 7da272dae8
commit 60fcc79f97
5 changed files with 21 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ using LinqToDB.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace Bit.Infrastructure.EntityFramework;
public static class EntityFrameworkServiceCollectionExtensions
{
public static void SetupEntityFramework(this IServiceCollection services, string connectionString, SupportedDatabaseProviders provider)