G
Giedrius
Hi,
is it possible to retrieve exact sql text which will be executed from a
prepared SqlCommand or DBCommand?
I need this for logging all activity.
Something like this would be helpfull:
Command.CommandText = "ExecProc"
Command.Paramaters.Add.....
SQL = Command.GetInternalSql 'or Command.GetType.InvokeMember
("GetInternalSql")
is it possible to retrieve exact sql text which will be executed from a
prepared SqlCommand or DBCommand?
I need this for logging all activity.
Something like this would be helpfull:
Command.CommandText = "ExecProc"
Command.Paramaters.Add.....
SQL = Command.GetInternalSql 'or Command.GetType.InvokeMember
("GetInternalSql")