After upgrade EF Core rc1 to rc2 I am having problems saving several entities at the same time. The error is in the query generated by the EntityFramework as shown below:
Exception thrown: 'Microsoft.EntityFrameworkCore.DbUpdateException' in Microsoft.EntityFrameworkCore.dll
System.Data.SqlClient.SqlException: The variable name '@inserted1' has already been declared. Variable names must be unique within a query batch or stored procedure.
After upgrade EF Core rc1 to rc2 I am having problems saving several entities at the same time. The error is in the query generated by the EntityFramework as shown below:
The generated batch:
I trying to save the follow entities:
Thanks for your time...