Migration from BLToolkit: Where is update batch?
See original GitHub issueWhere can I find the following method in Linq2db? Is replacement not implemented?
I want to get bulk update of all fields of all items in collection.
public static int Update<T>(this DbManager dataContext, int maxBatchSize, IEnumerable<T> list)
{
return new SqlQuery<T>(dataContext).Update(dataContext, maxBatchSize, list);
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:22 (12 by maintainers)
Top Results From Across the Web
How to update collection via BlToolkit
This method allows you to do batch update by passing collection of entities as a parameter. In your case use it like this:...
Read more >Newest 'bltoolkit' Questions
I have a long string value and i got error while update operation. ... BLToolkit has InsertBatch method to insert a set of...
Read more >Manage migration batches in Exchange Online
To access the Migration dashboard in the new EAC, go to new Exchange admin center, navigate to Migration > Batch. The following screenshot ......
Read more >BL Toolkit Alternatives - ORM - Awesome .NET - LibHunt
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. dotnet logo ...
Read more >UpdateBatch Method - ActiveX Data Objects (ADO)
Use the UpdateBatch method when modifying a Recordset object in batch update mode to transmit all changes made in a Recordset object to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, this is a limitation of current Merge API we have and unfortunately it is not possible to disable insert operation without changes to linq2db source code. This will be fixed in new Merge API I am currently working on and expect to release preview version in a couple of weeks.
@hardhub for now (next week or two) I will work solely only on merge support for RDBMS that supports
MERGE INTO
command. After I will finish with it, I will see what we can do for RDBMS that supportUPSERT
commands to support them in Merge API.If you are interested, you can try to build linq2db from this branch: https://github.com/MaceWindu/linq2db/tree/merge_improvements
Note that it will work only with SQL Server for now as I want to test all required functionality on one provider and then tune support for others.