ffernandolima / ef-core-data-access

It's a modern and generic data access structure for .NET and Microsoft.EntityFrameworkCore. It supports UnitOfWork, Repository and QueryBuilder patterns. It also includes auto history utilities, multiple databases support with distributed transactions and databases/tables sharding for some database providers.
MIT License
165 stars 25 forks source link

How do used UpdateAsync #25

Closed MohMehrnia closed 8 months ago

MohMehrnia commented 10 months ago

How do used UpdateAsync for updateing all property?

ffernandolima commented 8 months ago

Hi @MohMehrnia!

If you're talking about this UpdateAsync method, it uses the EF Core ExecuteUpdateAsync internally to execute batch updates.

You need to specify manually the properties you want to update.

Check these StackOverflow questions, they may help you:

I hope I've helped you.

ffernandolima commented 8 months ago

Closing this issue for now. In case you need further assistance, please let me know.