Skip to main content

ProfiledCommand

Assembly: ServiceStack.Common.dll​
View Source​
Declaration
public class ProfiledCommand : DbCommand, IComponent, IDbCommand, IDisposable, IHasDbCommand

Properties​

CommandText​

View Source​
Declaration
public override string CommandText { get; set; }

CommandTimeout​

View Source​
Declaration
public override int CommandTimeout { get; set; }

CommandType​

View Source​
Declaration
public override CommandType CommandType { get; set; }

DbCommand​

View Source​
Declaration
public DbCommand DbCommand { get; protected set; }

IHasDbCommand.DbCommand​

View Source​
Declaration
IDbCommand IHasDbCommand.DbCommand { get; }

DbConnection​

View Source​
Declaration
protected override DbConnection DbConnection { get; set; }

DbParameterCollection​

View Source​
Declaration
protected override DbParameterCollection DbParameterCollection { get; }

DbTransaction​

View Source​
Declaration
protected override DbTransaction DbTransaction { get; set; }

DbProfiler​

View Source​
Declaration
protected IDbProfiler DbProfiler { get; set; }

DesignTimeVisible​

View Source​
Declaration
public override bool DesignTimeVisible { get; set; }

UpdatedRowSource​

View Source​
Declaration
public override UpdateRowSource UpdatedRowSource { get; set; }

Methods​

ExecuteDbDataReader(CommandBehavior)​

View Source​
Declaration
protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
Returns​

System.Data.Common.DbDataReader

Parameters​
TypeName
System.Data.CommandBehaviorbehavior

ExecuteNonQuery()​

View Source​
Declaration
public override int ExecuteNonQuery()
Returns​

System.Int32

ExecuteScalar()​

View Source​
Declaration
public override object ExecuteScalar()
Returns​

System.Object

Cancel()​

View Source​
Declaration
public override void Cancel()

Prepare()​

View Source​
Declaration
public override void Prepare()

CreateDbParameter()​

View Source​
Declaration
protected override DbParameter CreateDbParameter()
Returns​

System.Data.Common.DbParameter

Dispose(Boolean)​

View Source​
Declaration
protected override void Dispose(bool disposing)
Parameters​
TypeName
System.Booleandisposing

Implements​