Skip to content

Commit

Permalink
Fix SQL command generation in OrchardCore.Data.DbConnectionValidator'…
Browse files Browse the repository at this point in the history
…s GetDocumentCommandText (#16967)

Co-authored-by: Marco Serralheiro <[email protected]>
  • Loading branch information
serverside-is and Marco Serralheiro authored Nov 7, 2024
1 parent e3cd15c commit 63ecd53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ private static string GetDocumentCommandText(SqlBuilder sqlBuilder, string docum
sqlBuilder.WhereAnd($"Type = '{_shellDescriptorTypeColumnValue}'");
}

return sqlBuilder.ToString();
return sqlBuilder.ToSqlString();
}

private static (IConnectionFactory connectionFactory, ISqlDialect sqlDialect) GetFactoryAndSqlDialect(
Expand Down

0 comments on commit 63ecd53

Please sign in to comment.