Duplicate variable names when batching inserts with only default values #4095
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
When attempting to add multiple instances with default values to the context, a
System.Data.SqlClient.SqlException
is thrown onSaveChanges
with the message "The variable name '@generated5' has already been declared. Variable names must be unique within a query batch or stored procedure."Reproduction
Generated SQL
The text was updated successfully, but these errors were encountered: