Closed MohMehrnia closed 7 months ago
Hi @MohMehrnia!
Can you please provide me a simple app with the minimum code structure and some repro steps? By doing that, I'd be able to help you.
Btw, it seems to be something from the EF Core and not from the library.
Thank you.
Full Source Code @ffernandolima
Hi @MohMehrnia! I hope you're doing well. I couldn't build the project you provided me. It seems like it misses 2 reference projects. Please provide me a simple app with some repro steps, so that I can help you. Thanks for understanding.
Due to the inactivity of this issue, I am closing it for now.
when update entity show me below error
The database operation was expected to affect 1 row(s), but actually affected 0 row(s)
update code is
var updatedCourse = _mapper.Map(request.Course);
var course = repository.Update(updatedCourse);
await unitOfWork.SaveChangesAsync(cancellationToken: cancellationToken);