Snippets Of The Day – Sunday, September 29, 2013

Posted on Posted in Snippets

Orange set of tools as knives, scissors, corkscrew, openerHere are some of the most recently published snippets!

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.

Open the snippet

Author: cgarlos

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!

Open the snippet

Author: cgarlos

Leave a Reply

Your email address will not be published. Required fields are marked *