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
Type | Name |
---|---|
IDbCommand | dbCmd |
GetColumn<T>(IDbCommand)
View Source
Declaration
public List<T> GetColumn<T>(IDbCommand dbCmd)
Returns
List<<T>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
T
GetColumnDistinct<T>(IDbCommand)
View Source
Declaration
public HashSet<T> GetColumnDistinct<T>(IDbCommand dbCmd)
Returns
HashSet<<T>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
T
GetDictionary<K, V>(IDbCommand)
View Source
Declaration
public Dictionary<K, V> GetDictionary<K, V>(IDbCommand dbCmd)
Returns
Dictionary<<K>,<V>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
K
V
GetLastInsertId(IDbCommand)
View Source
Declaration
public long GetLastInsertId(IDbCommand dbCmd)
Returns
System.Int64
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
GetList<T>(IDbCommand)
View Source
Declaration
public List<T> GetList<T>(IDbCommand dbCmd)
Returns
List<<T>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
T
GetLongScalar(IDbCommand)
View Source
Declaration
public long GetLongScalar(IDbCommand dbCmd)
Returns
System.Int64
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
GetLookup<K, V>(IDbCommand)
View Source
Declaration
public Dictionary<K, List<V>> GetLookup<K, V>(IDbCommand dbCmd)
Returns
Dictionary<<K>,List<<V>>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
K
V
GetRefList(IDbCommand, Type)
View Source
Declaration
public IList GetRefList(IDbCommand dbCmd, Type refType)
Returns
IList
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type | refType |
GetRefSingle(IDbCommand, Type)
View Source
Declaration
public object GetRefSingle(IDbCommand dbCmd, Type refType)
Returns
System.Object
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type | refType |
GetScalar(IDbCommand)
View Source
Declaration
public object GetScalar(IDbCommand dbCmd)
Returns
System.Object
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
GetScalar<T>(IDbCommand)
View Source
Declaration
public T GetScalar<T>(IDbCommand dbCmd)
Returns
<T>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
T
GetSingle<T>(IDbCommand)
View Source
Declaration
public T GetSingle<T>(IDbCommand dbCmd)
Returns
<T>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
T
Implements
- ServiceStack.OrmLite.IOrmLiteResultsFilter
IDisposable