Class SqlCommandExtensions
- Namespace
- JJMasterData.Commons.Data.Extensions
- Assembly
- JJMasterData.Commons.dll
public static class SqlCommandExtensions
- Inheritance
-
SqlCommandExtensions
- Inherited Members
Methods
CommandAsSql(DbCommand)
Convert a DbCommand object to a SQL string.
public static string CommandAsSql(this DbCommand dbCommand)
Parameters
dbCommand
DbCommand
Returns
ParameterValueAsSql(SqlParameter)
public static string ParameterValueAsSql(this SqlParameter sp)
Parameters
sp
SqlParameter