Class UmbracoDatabase.CommandInfo
Represents information about a command executed against the Umbraco database.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UmbracoDatabase.CommandInfo
Remarks
used for tracking commands
Constructors
View SourceCommandInfo(IDbCommand)
Initializes a new instance of the UmbracoDatabase.CommandInfo class, wrapping the specified database command.
Declaration
public CommandInfo(IDbCommand cmd)
Parameters
| Type | Name | Description |
|---|---|---|
| IDbCommand | cmd | The System.Data.IDbCommand to wrap. |
Properties
View SourceParameters
Gets the array of parameters associated with this database command.
Declaration
public UmbracoDatabase.ParameterInfo[] Parameters { get; }
Property Value
| Type | Description |
|---|---|
| ParameterInfo[] |
Text
Gets the SQL command text associated with this command.
Declaration
public string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |