I'm in the midst of a rather large project which involves decomposing a very old and large ColdFusion legacy application and creating some .NET services in it's place. Due to this, there are some requirements I'm not a huge fan of that it needs to support as we transition to this new backend. One of these requirements is a single endpoint that must take a very large JSON payload with many optional/required subclasses and save it all in one go.

I've broken down this data into a rather large domain object and various nested subclasses, and save each subclass in a transaction if it is included in the request.

How are these being stored? Does each repository method call represent a stored procedure or some kind of EF update? Do you have the freedom to change the methods or do you still need to call each one of them separately somehow?
– John WuAug 3 '18 at 0:17

@JohnWu Yes, each Repo method calls a simple insert stored procedure. I do have the freedom to change such methods, so if you have an idea that goes a different way then feel free to let me know!
– HoserAug 3 '18 at 22:51