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

DomSqlMapBuilder.ConfigureAndWatch Method (String, ConfigureHandler)

Configure and monitor the configuration file for modifications and automatically reconfigure the ISqlMapper instance.

[Visual Basic]
Overloads Public Function ConfigureAndWatch( _
   ByVal String As String, _
   ByVal ConfigureHandler As ConfigureHandler _
) As ISqlMapper
[C#]
public ISqlMapper ConfigureAndWatch(
   String resource,
   ConfigureHandler configureDelegate
);

Parameters

resource
A relative ressource path from your Application root or an absolue file path file:\\c:\dir\a.config
configureDelegate
Delegate called when the file has changed.

Return Value

An ISqlMapper instance.

See Also

DomSqlMapBuilder Class | IBatisNet.DataMapper.Configuration Namespace | DomSqlMapBuilder.ConfigureAndWatch Overload List