Skip to content

Commit 8ec99bf

Browse files
committed
cli options
1 parent 4b8b067 commit 8ec99bf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Rdmp.Core/CommandLine/DatabaseCreation/PlatformDatabaseCreationOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public SqlConnectionStringBuilder GetBuilder(string databaseName)
144144
{
145145
// if they are specifying other keywords they might be auth related so we don't want to blindly turn this on
146146
builder.IntegratedSecurity = string.IsNullOrWhiteSpace(OtherKeywords);
147+
builder.MultipleActiveResultSets = true;
147148
}
148149

149150
return builder;

Rdmp.Core/CommandLine/Options/RDMPCommandLineOptions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public void GetConnectionStrings(out SqlConnectionStringBuilder c, out SqlConnec
127127
{
128128
DataSource = ServerName,
129129
IntegratedSecurity = true,
130+
MultipleActiveResultSets = true,
130131
InitialCatalog = CatalogueDatabaseName
131132
};
132133
else
@@ -146,6 +147,7 @@ public void GetConnectionStrings(out SqlConnectionStringBuilder c, out SqlConnec
146147
{
147148
DataSource = ServerName,
148149
IntegratedSecurity = true,
150+
MultipleActiveResultSets = true,
149151
InitialCatalog = DataExportDatabaseName
150152
};
151153
else

0 commit comments

Comments
 (0)