You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way that i can use the UpdateAll generically? For example:
Let's suppose i have a BaseRepository that receives a list of entities of type T and i want to update all properties of the entire list (In other words a generic BulkUpdate).
I'm trying to do something like this:
EFBatchOperation.For(Context, this.entities.Set<T>()).UpdateAll(<List T goes here>, e => e.ColumnsToUpdate(p => p.<Get All Props Here>));
But, obviously, no success so far.
Sorry if this is a dumb question, but i could find nothing related so far and i really need a light here.
The text was updated successfully, but these errors were encountered:
Is there a way that i can use the UpdateAll generically? For example:
Let's suppose i have a BaseRepository that receives a list of entities of type T and i want to update all properties of the entire list (In other words a generic BulkUpdate).
I'm trying to do something like this:
But, obviously, no success so far.
Sorry if this is a dumb question, but i could find nothing related so far and i really need a light here.
The text was updated successfully, but these errors were encountered: