iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

TypeHandlerFactory.Register Method (Type, String, ITypeHandler)

Register (add) a type handler for a type and dbType

[Visual Basic]
Overloads Public Sub Register( _
   ByVal Type As Type, _
   ByVal String As String, _
   ByVal ITypeHandler As ITypeHandler _
)
[C#]
public void Register(
   Type type,
   String dbType,
   ITypeHandler handler
);

Parameters

type
the type
dbType
the dbType (optional, if dbType is null the handler will be used for all dbTypes)
handler
the handler instance

See Also

TypeHandlerFactory Class | IBatisNet.DataMapper.TypeHandlers Namespace | TypeHandlerFactory.Register Overload List