Execute SQL Server Stored Procedure in C#
This is the most effective and generic way to invoke a SP from C#. It can retry to invoke it other times, if needed, depending on the logic placed in MySqlException.NeedsRetry() method.
Generic way to declare log4net variable
This is a way to declare a static log4net variable that doesn’t require the actual name of the current class to be typed, so it can be copy&pasted in each class you need!