source/TestCommon/source/FunctionApp.TestCommon/Database/SqlServerDatabaseManager.cs
/// <summary>
/// Create a clean database using SQL, similar to the PowerShell script described in the Development.md file.
/// </summary>
Create a clean database using SQL, similar to the PowerShell script described in the Development.md file.
Create a clean database using SQL similar to the PowerShell script described in the Development . md file .
private static string BuildCreateDatabaseCommandText(string databaseName)
        {
            return
                $"CREATE DATABASE [{databaseName}] COLLATE {DefaultCollationName};" +
                $"ALTER DATABASE [{databaseName}] SET READ_COMMITTED_SNAPSHOT ON;";
        }
private static string BuildCreateDatabaseCommandText ( string databaseName ) { return $" CREATE DATABASE [ { databaseName } ] COLLATE  { DefaultCollationName } ; " + $" ALTER DATABASE [ { databaseName } ] SET READ_COMMITTED_SNAPSHOT ON; " ; }
Create a clean database using SQL, similar to the PowerShell script described in the Development.md file.
Create a clean database using SQL similar to the PowerShell script described in the Development . md file .
databaseName
string