Skip to main content

Namespace ServiceStack.OrmLite.Dapper

Classes

CustomPropertyTypeMap

Implements custom property mapping by user provided criteria (usually presence of some custom attribute with column to member mapping)

DbString

This class represents a SQL string, it can be used if you need to denote your parameter is a Char vs VarChar vs nVarChar vs nChar

DefaultTypeMap

Represents default type mapping strategy used by Dapper

DynamicParameters

A bag of parameters that can be passed to the Dapper Query and Execute methods

ExplicitConstructorAttribute

Tell Dapper to use an explicit constructor, passing nulls or 0s for all parameters

SqlMapper

Dapper, a light weight object mapper for ADO.NET

SqlMapper.GridReader

The grid reader provides interfaces for reading multiple result sets from a Dapper query

SqlMapper.Identity

Identity of a cached query in Dapper, used for extensibility.

SqlMapper.Settings

Permits specifying certain SqlMapper values globally.

SqlMapper.StringTypeHandler<T>

Base-class for simple type-handlers that are based around strings

SqlMapper.TypeHandler<T>

Base-class for simple type-handlers

SqlMapper.TypeHandlerCache<T>

Not intended for direct usage

SqlMapper.UdtTypeHandler

A type handler for data-types that are supported by the underlying provider, but which need a well-known UdtTypeName to be specified

Structs

CommandDefinition

Represents the key aspects of a sql operation

Interfaces

IWrappedDataReader

Describes a reader that controls the lifetime of both a command and a reader, exposing the downstream command/reader as properties.

SqlMapper.ICustomQueryParameter

Implement this interface to pass an arbitrary db specific parameter to Dapper

SqlMapper.IDynamicParameters

Implement this interface to pass an arbitrary db specific set of parameters to Dapper

SqlMapper.IMemberMap

Implements this interface to provide custom member mapping

SqlMapper.IParameterCallbacks

Extends IDynamicParameters with facilities for executing callbacks after commands have completed

SqlMapper.IParameterLookup

Extends IDynamicParameters providing by-name lookup of parameter values

SqlMapper.ITypeHandler

Implement this interface to perform custom type-based parameter handling and value parsing

SqlMapper.ITypeMap

Implement this interface to change default mapping of reader columns to type members

Enums

CommandFlags

Additional state flags that control command behaviour