Parameters with casing not following standard

This commit is contained in:
MikeyBronowski
2020-06-21 22:34:46 +02:00
parent 11d591aad6
commit a3921f5298
27 changed files with 98 additions and 98 deletions

View File

@@ -16,12 +16,12 @@ function ConvertFrom-ExcelToSQLInsert {
[switch]$NoHeader,
[switch]$DataOnly,
[switch]$ConvertEmptyStringsToNull,
[switch]$UseMSSQLSyntax
[switch]$UseMsSqlSyntax
)
$null = $PSBoundParameters.Remove('TableName')
$null = $PSBoundParameters.Remove('ConvertEmptyStringsToNull')
$null = $PSBoundParameters.Remove('UseMSSQLSyntax')
$null = $PSBoundParameters.Remove('UseMsSqlSyntax')
$params = @{} + $PSBoundParameters
@@ -29,7 +29,7 @@ function ConvertFrom-ExcelToSQLInsert {
param($propertyNames, $record)
$ColumnNames = "'" + ($PropertyNames -join "', '") + "'"
if($UseMSSQLSyntax) {
if($UseMsSqlSyntax) {
$ColumnNames = "[" + ($PropertyNames -join "], [") + "]"
}