From e409bd440514c7769721157cd7a060f0fd99f77f Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Mon, 5 Feb 2024 10:38:57 +0500 Subject: [PATCH] Add logging record --- AsbCloudDb/EFExtensionsInitialization.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AsbCloudDb/EFExtensionsInitialization.cs b/AsbCloudDb/EFExtensionsInitialization.cs index 7f9ba0ea..b2f41aff 100644 --- a/AsbCloudDb/EFExtensionsInitialization.cs +++ b/AsbCloudDb/EFExtensionsInitialization.cs @@ -10,6 +10,8 @@ namespace AsbCloudDb { public static void EnsureCreatedAndMigrated(this DatabaseFacade db) { + var connectionString = db.GetConnectionString(); + Trace.TraceInformation($"connectionString: {connectionString}"); db.SetCommandTimeout(TimeSpan.FromMinutes(5)); if (db.EnsureCreated()) {