Category Archives: Snippets

Serialize SQL parameters

Convert a collection of SQL parameters into a name:value string suitable for writing to a log. /// <summary> /// Serializes a collection of /// <see cref="System.Data.SqlClient.SqlParameter"/>s. /// </summary> /// <param name="parameters"> /// The collection of parameters to serialize. /// </param> … Continue reading

Posted in .NET Framework, Programming, Snippets, Uncategorized | Tagged , , , | Leave a comment