Skip to main content

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​
TypeName
IDbCommanddbCmd

GetList<T>(IDbCommand)​

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

List<<T>>

Parameters​
TypeName
IDbCommanddbCmd
Type Parameters​
  • T

GetRefList(IDbCommand, Type)​

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

IList

Parameters​
TypeName
IDbCommanddbCmd
TyperefType

GetSingle<T>(IDbCommand)​

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

<T>

Parameters​
TypeName
IDbCommanddbCmd
Type Parameters​
  • T

GetRefSingle(IDbCommand, Type)​

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

System.Object

Parameters​
TypeName
IDbCommanddbCmd
TyperefType

GetScalar<T>(IDbCommand)​

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

<T>

Parameters​
TypeName
IDbCommanddbCmd
Type Parameters​
  • T

GetLongScalar(IDbCommand)​

View Source​
Declaration
public long GetLongScalar(IDbCommand dbCmd)
Returns​

System.Int64

Parameters​
TypeName
IDbCommanddbCmd

GetScalar(IDbCommand)​

View Source​
Declaration
public object GetScalar(IDbCommand dbCmd)
Returns​

System.Object

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

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

ExecuteSql(IDbCommand)​

View Source​
Declaration
public int ExecuteSql(IDbCommand dbCmd)
Returns​

System.Int32

Parameters​
TypeName
IDbCommanddbCmd

Dispose()​

View Source​
Declaration
public void Dispose()

Implements​