Click or drag to resize

Utils_SqlGetReferencedObjects Method

Generates an xml of all objects referenced by the connection.

IMPORTANT : USE ONLY FOR DEBUGGING PURPOSE !!!

http://blogs.msdn.com/b/dataaccesstechnologies/archive/2009/04/08/how-to-find-out-the-data-reader-referencing-an-ado-net-connection-object-to-fix-the-error-there-is-already-an-open-datareader-associated-with-this-command-which-must-be-closed-first.aspx

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static string GetReferencedObjects(
	DbConnection con
)

Parameters

con
Type: System.Data.CommonDbConnection

Return Value

Type: String
See Also