private static readonly string _databaseInstanceName = Guid.NewGuid().ToString("N") private static readonly string _databaseConnection = $@"Server=(localdb)\{_databaseInstanceName};Integrated Security=true";
public LocalDbManager LocalDbManager = new LocalDbManager(_databaseInstanceName);
private static string _databaseInstanceName; private static string GetDbInstanceName() { _databaseInstanceName = Guid.NewGuid().ToString("N"); return _databaseInstanceName; } public LocalDbManager LocalDbManager = new LocalDbManager(GetDbInstanceName()); private string DatabaseConnection => $@"Server=(localdb)\{_databaseInstanceName};Integrated Security=true";
private static string _databaseInstanceName { get { return Guid.NewGuid().ToString(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)