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
Type | Name |
---|---|
System.Data.CommandBehavior | behavior |
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
Type | Name |
---|---|
System.Boolean | disposing |
Implements
System.ComponentModel.IComponent
System.Data.IDbCommand
System.IDisposable
- ServiceStack.Data.IHasDbCommand