SqlMapperSetTypeMap Method |
Set custom mapping for type deserializers
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void SetTypeMap(
Type type,
SqlMapperITypeMap map
)
Public Shared Sub SetTypeMap (
type As Type,
map As SqlMapperITypeMap
)
public:
static void SetTypeMap(
Type^ type,
SqlMapperITypeMap^ map
)
static member SetTypeMap :
type : Type *
map : SqlMapperITypeMap -> unit
Parameters
- type
- Type: SystemType
Entity type to override - map
- Type: DapperSqlMapperITypeMap
Mapping rules impementation, null to remove custom map
See Also