Open mateusmcg opened 8 years ago
UpdateAll is all ready a generic acting on TContext, T with a limit on T being a class.
Do you have a larger code sample of what you are trying to do?
@mateusmcg did you figure out how to create a generic UpdatedAll?
Are you looking for an UpdateAll implementation that updates all columns? If so, see #106 for further discussion.
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.