© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
14 replies
dotnut

✅ Design decision over multiple inserts in a single command

Hi, any design suggestions on how to handle an update command from a mvc form which update needs to update 4 different tables?

One way is to have a single handler that does all and thus controller invokes a single update service

Another is to have multiple handlers to support each table update.

In order to achieve SRP the latter seems alright, but I am uncertain as the update command I see as an atomic operation
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Default command in System.CommandLine
C#CC# / help
3y ago
❔ Multiple command
C#CC# / help
4y ago
✅ Declaring and initializing multiple values in a single line in C#
C#CC# / help
13mo ago
✅ Swap between multiple forms on a single panel
C#CC# / help
2y ago