EFCore 8.0 SaveChangesAsync Faild
zmsoft
240
Reputation points
Hi there,
Why EFCore 8.0 SaveChangesAsync always faild?
Env : Azure Functions , EFCore 8.0.10
The error msg is :
An exception occurred in the database while saving changes for context type 'FunctionApp1.Context.DWDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Parse error at line: 4, column: 18: Incorrect syntax near ','.
But when I succeeded in adding one record, I failed to add more. Any suggestions?
My Code:
[Function("Function1")]
public async Task
Sign in to answer