OrmLiteResultsFilter
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class OrmLiteResultsFilter : object, IOrmLiteResultsFilter
Properties
Results
View Source
Declaration
public IEnumerable Results { get; set; }
RefResults
View Source
Declaration
public IEnumerable RefResults { get; set; }
ColumnResults
View Source
Declaration
public IEnumerable ColumnResults { get; set; }
ColumnDistinctResults
View Source
Declaration
public IEnumerable ColumnDistinctResults { get; set; }
DictionaryResults
View Source
Declaration
public IDictionary DictionaryResults { get; set; }
LookupResults
View Source
Declaration
public IDictionary LookupResults { get; set; }
SingleResult
View Source
Declaration
public object SingleResult { get; set; }
RefSingleResult
View Source
Declaration
public object RefSingleResult { get; set; }
ScalarResult
View Source
Declaration
public object ScalarResult { get; set; }
LongScalarResult
View Source
Declaration
public long LongScalarResult { get; set; }
LastInsertId
View Source
Declaration
public long LastInsertId { get; set; }
ExecuteSqlResult
View Source
Declaration
public int ExecuteSqlResult { get; set; }
ExecuteSqlFn
View Source
Declaration
public Func<IDbCommand, int> ExecuteSqlFn { get; set; }
ResultsFn
View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> ResultsFn { get; set; }
RefResultsFn
View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> RefResultsFn { get; set; }
ColumnResultsFn
View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> ColumnResultsFn { get; set; }
ColumnDistinctResultsFn
View Source
Declaration
public Func<IDbCommand, Type, IEnumerable> ColumnDistinctResultsFn { get; set; }
DictionaryResultsFn
View Source
Declaration
public Func<IDbCommand, Type, Type, IDictionary> DictionaryResultsFn { get; set; }
LookupResultsFn
View Source
Declaration
public Func<IDbCommand, Type, Type, IDictionary> LookupResultsFn { get; set; }
SingleResultFn
View Source
Declaration
public Func<IDbCommand, Type, object> SingleResultFn { get; set; }
RefSingleResultFn
View Source
Declaration
public Func<IDbCommand, Type, object> RefSingleResultFn { get; set; }
ScalarResultFn
View Source
Declaration
public Func<IDbCommand, Type, object> ScalarResultFn { get; set; }
LongScalarResultFn
View Source
Declaration
public Func<IDbCommand, long> LongScalarResultFn { get; set; }
LastInsertIdFn
View Source
Declaration
public Func<IDbCommand, long> LastInsertIdFn { get; set; }
SqlFilter
View Source
Declaration
public Action<string> SqlFilter { get; set; }
SqlCommandFilter
View Source
Declaration
public Action<IDbCommand> SqlCommandFilter { get; set; }
PrintSql
View Source
Declaration
public bool PrintSql { get; set; }
Methods
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
GetRefList(IDbCommand, Type)
View Source
Declaration
public IList GetRefList(IDbCommand dbCmd, Type refType)
Returns
IList
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type | refType |
GetSingle<T>(IDbCommand)
View Source
Declaration
public T GetSingle<T>(IDbCommand dbCmd)
Returns
<T>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type Parameters
T
GetRefSingle(IDbCommand, Type)
View Source
Declaration
public object GetRefSingle(IDbCommand dbCmd, Type refType)
Returns
System.Object
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type | refType |
GetScalar<T>(IDbCommand)
View Source
Declaration
public T GetScalar<T>(IDbCommand dbCmd)
Returns
<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 |
GetScalar(IDbCommand)
View Source
Declaration
public object GetScalar(IDbCommand dbCmd)
Returns
System.Object
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
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
ExecuteSql(IDbCommand)
View Source
Declaration
public int ExecuteSql(IDbCommand dbCmd)
Returns
System.Int32
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Dispose()
View Source
Declaration
public void Dispose()
Implements
- ServiceStack.OrmLite.IOrmLiteResultsFilter
IDisposable