Skip to main content

CaptureSqlFilter

Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class CaptureSqlFilter : OrmLiteResultsFilter, IOrmLiteResultsFilter

Properties

SqlCommandHistory

View Source
Declaration
public List<SqlCommandDetails> SqlCommandHistory { get; set; }

SqlStatements

View Source
Declaration
public List<string> SqlStatements { get; }

Inherited Properties

ColumnDistinctResults

View Source
Declaration
public IEnumerable ColumnDistinctResults { get; set; }

ColumnDistinctResultsFn

View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> ColumnDistinctResultsFn { get; set; }

ColumnResults

View Source
Declaration
public IEnumerable ColumnResults { get; set; }

ColumnResultsFn

View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> ColumnResultsFn { get; set; }

DictionaryResults

View Source
Declaration
public IDictionary DictionaryResults { get; set; }

DictionaryResultsFn

View Source
Declaration
public Func<IDbCommand, Type, Type, IDictionary> DictionaryResultsFn { get; set; }

ExecuteSqlFn

View Source
Declaration
public Func<IDbCommand, int> ExecuteSqlFn { get; set; }

ExecuteSqlResult

View Source
Declaration
public int ExecuteSqlResult { get; set; }

LastInsertId

View Source
Declaration
public long LastInsertId { get; set; }

LastInsertIdFn

View Source
Declaration
public Func<IDbCommand, long> LastInsertIdFn { get; set; }

LongScalarResult

View Source
Declaration
public long LongScalarResult { get; set; }

LongScalarResultFn

View Source
Declaration
public Func<IDbCommand, long> LongScalarResultFn { get; set; }

LookupResults

View Source
Declaration
public IDictionary LookupResults { get; set; }

LookupResultsFn

View Source
Declaration
public Func<IDbCommand, Type, Type, IDictionary> LookupResultsFn { get; set; }

PrintSql

View Source
Declaration
public bool PrintSql { get; set; }

RefResults

View Source
Declaration
public IEnumerable RefResults { get; set; }

RefResultsFn

View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> RefResultsFn { get; set; }

RefSingleResult

View Source
Declaration
public object RefSingleResult { get; set; }

RefSingleResultFn

View Source
Declaration
public Func<IDbCommand, Type, object> RefSingleResultFn { get; set; }

Results

View Source
Declaration
public IEnumerable Results { get; set; }

ResultsFn

View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> ResultsFn { get; set; }

ScalarResult

View Source
Declaration
public object ScalarResult { get; set; }

ScalarResultFn

View Source
Declaration
public Func<IDbCommand, Type, object> ScalarResultFn { get; set; }

SingleResult

View Source
Declaration
public object SingleResult { get; set; }

SingleResultFn

View Source
Declaration
public Func<IDbCommand, Type, object> SingleResultFn { get; set; }

SqlCommandFilter

View Source
Declaration
public Action<IDbCommand> SqlCommandFilter { get; set; }

SqlFilter

View Source
Declaration
public Action<string> SqlFilter { get; set; }

Inherited Methods

Dispose()

View Source
Declaration
public void Dispose()

ExecuteSql(IDbCommand)

View Source
Declaration
public int ExecuteSql(IDbCommand dbCmd)
Returns

System.Int32

Parameters
TypeName
IDbCommanddbCmd

GetColumn<T>(IDbCommand)

View Source
Declaration
public List<T> GetColumn<T>(IDbCommand dbCmd)
Returns

List<<T>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

GetColumnDistinct<T>(IDbCommand)

View Source
Declaration
public HashSet<T> GetColumnDistinct<T>(IDbCommand dbCmd)
Returns

HashSet<<T>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

GetDictionary<K, V>(IDbCommand)

View Source
Declaration
public Dictionary<K, V> GetDictionary<K, V>(IDbCommand dbCmd)
Returns

Dictionary<<K>,<V>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • K
  • V

GetKeyValuePairs<K, V>(IDbCommand)

View Source
Declaration
public List<KeyValuePair<K, V>> GetKeyValuePairs<K, V>(IDbCommand dbCmd)
Returns

List<KeyValuePair<<K>,<V>>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • K
  • V

GetLastInsertId(IDbCommand)

View Source
Declaration
public long GetLastInsertId(IDbCommand dbCmd)
Returns

System.Int64

Parameters
TypeName
IDbCommanddbCmd

GetList<T>(IDbCommand)

View Source
Declaration
public List<T> GetList<T>(IDbCommand dbCmd)
Returns

List<<T>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

GetLongScalar(IDbCommand)

View Source
Declaration
public long GetLongScalar(IDbCommand dbCmd)
Returns

System.Int64

Parameters
TypeName
IDbCommanddbCmd

GetLookup<K, V>(IDbCommand)

View Source
Declaration
public Dictionary<K, List<V>> GetLookup<K, V>(IDbCommand dbCmd)
Returns

Dictionary<<K>,List<<V>>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • K
  • V

GetRefList(IDbCommand, Type)

View Source
Declaration
public IList GetRefList(IDbCommand dbCmd, Type refType)
Returns

IList

Parameters
TypeName
IDbCommanddbCmd
TyperefType

GetRefSingle(IDbCommand, Type)

View Source
Declaration
public object GetRefSingle(IDbCommand dbCmd, Type refType)
Returns

System.Object

Parameters
TypeName
IDbCommanddbCmd
TyperefType

GetScalar(IDbCommand)

View Source
Declaration
public object GetScalar(IDbCommand dbCmd)
Returns

System.Object

Parameters
TypeName
IDbCommanddbCmd

GetScalar<T>(IDbCommand)

View Source
Declaration
public T GetScalar<T>(IDbCommand dbCmd)
Returns

<T>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

GetSingle<T>(IDbCommand)

View Source
Declaration
public T GetSingle<T>(IDbCommand dbCmd)
Returns

<T>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

Implements