arch / UnitOfWork

A plugin for Microsoft.EntityFrameworkCore to support repository, unit of work patterns, multiple database with distributed transaction supported, and MySQL multiple databases/tables sharding supported.
MIT License
1.32k stars 343 forks source link

EF 3.1 - InsertAsync - Method not found #124

Closed ymallikreddy521 closed 4 years ago

ymallikreddy521 commented 4 years ago

Upgraded from core 2.2 to 3.1

Below error message when trying to save. - InsertAsync

System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task1<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry1> Microsoft.EntityFrameworkCore.DbSet1.AddAsync(System.__Canon, System.Threading.CancellationToken)'. at Microsoft.EntityFrameworkCore.Repository1.InsertAsync(TEntity entity, CancellationToken cancellationToken)

rigofunc commented 4 years ago

I will update to 3.1 this weekend

ymallikreddy521 commented 4 years ago

Thanks lot.

rigofunc commented 4 years ago

see v3.1.0

ymallikreddy521 commented 4 years ago

Thank you. It works now. I will let you know how it goes with complete migrations.

Thanks again for wonderful job.