Should every SQL query have its own event and command?
Hello,
I am developing an application using Cairngorm. My app uses SQL databases.
I'm creating a separate event and command for each SQL query my application requires. I end up with many events and commands - twenty different event/command pairs and I'm not even done yet.
I was wondering if this is the right way to go, or if somehow similar SQL queries should be grouped together in the same event/command, and if so, how would I implement that elegantly?
I've never used Cairngorm before so I want to make sure I do it correctly.
Thank you for your time and any assistance you can offer.
