Fixing connection strings - wip

This commit is contained in:
2024-11-29 22:23:40 +01:00
parent 998a4d5ab9
commit 0ab8d7f7d1
5 changed files with 8 additions and 26 deletions

View File

@@ -4,6 +4,6 @@ public class DatabaseSettings
{
#nullable enable
public string? SqlServerConnectionString { get; set; }
public MongoDbSettings? MongoDbSettings { get; set; }
public string? MongoDbConnectionString { get; set; }
#nullable disable
}

View File

@@ -1,9 +0,0 @@
namespace BasicDotnetTemplate.MainProject.Models.Settings;
public class MongoDbSettings
{
#nullable enable
public string? MongoDbConnectionString { get; set; }
public string? DatabaseName { get; set; }
#nullable disable
}