ProfiledDbCommand
Assembly: ServiceStack.NetFramework.dll
View Source
Declaration
public class ProfiledDbCommand : ProfiledCommand, IComponent, IDbCommand, IDisposable, IHasDbCommand, ICloneable
Properties
BindByName
If the underlying command supports BindByName, this sets/clears the underlying implementation accordingly. This is required to support OracleCommand from dapper-dot-net
View Source
Declaration
public bool BindByName { get; set; }
DbConnection
View Source
Declaration
protected override DbConnection DbConnection { get; set; }
_cmd
View Source
Declaration
protected DbCommand _cmd { get; set; }
_conn
View Source
Declaration
protected DbConnection _conn { get; set; }
_tran
View Source
Declaration
protected DbTransaction _tran { get; set; }
_profiler
View Source
Declaration
protected IDbProfiler _profiler { get; set; }
Inherited 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; }
DbConnection
View Source
Declaration
protected override DbConnection DbConnection { get; set; }
DbParameterCollection
View Source
Declaration
protected override DbParameterCollection DbParameterCollection { get; }
DbProfiler
View Source
Declaration
protected IDbProfiler DbProfiler { get; set; }
DbTransaction
View Source
Declaration
protected override DbTransaction DbTransaction { get; set; }
DesignTimeVisible
View Source
Declaration
public override bool DesignTimeVisible { get; set; }
IHasDbCommand.DbCommand
View Source
Declaration
IDbCommand IHasDbCommand.DbCommand { get; }
UpdatedRowSource
View Source
Declaration
public override UpdateRowSource UpdatedRowSource { get; set; }
Methods
Clone()
View Source
Declaration
public ProfiledDbCommand Clone()
Returns
ServiceStack.MiniProfiler.Data.ProfiledDbCommand
ICloneable.Clone()
View Source
Declaration
object ICloneable.Clone()
Returns
System.Object
Inherited Methods
Cancel()
View Source
Declaration
public override void Cancel()
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 |
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
Prepare()
View Source
Declaration
public override void Prepare()
Implements
System.ComponentModel.IComponent
System.Data.IDbCommand
System.IDisposable
- ServiceStack.Data.IHasDbCommand
System.ICloneable