Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>10.9.0</Version>
<Version>10.9.1</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Title>User Provider</Title>
<Description>User Provider</Description>
Expand Down
3 changes: 3 additions & 0 deletions src/UserDestinationWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@

public void CreateTempTable(string tempTableSchema, string tempTableName, string tempTablePrefix, List<SqlColumn> destinationColumns)
{
if (_sqlCommand.Connection.State != ConnectionState.Open)
_sqlCommand.Connection.Open();

SQLTable.CreateTempTable(_sqlCommand, tempTableSchema, tempTableName, tempTablePrefix, destinationColumns, _logger);
}

Expand Down Expand Up @@ -1961,7 +1964,7 @@
}
}

private string GetValue(ColumnMapping? columnMapping, Dictionary<string, object> row)

Check warning on line 1967 in src/UserDestinationWriter.cs

View workflow job for this annotation

GitHub Actions / call-workflow / Build

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
{
string? result = null;
if (columnMapping != null && (columnMapping.HasScriptWithValue || row.ContainsKey(columnMapping.SourceColumn.Name)))
Expand Down
Loading