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

DomDaoManagerBuilder.ConfigureAndWatch Method (FileInfo, ConfigureHandler)

Configure and monitor the configuration file for modifications and automatically reconfigure SqlMap.

[Visual Basic]
Overloads Public Sub ConfigureAndWatch( _
   ByVal FileInfo As FileInfo, _
   ByVal ConfigureHandler As ConfigureHandler _
)
[C#]
public void ConfigureAndWatch(
   FileInfo resource,
   ConfigureHandler configureDelegate
);

Parameters

resource
A FileInfo to your config file.
configureDelegate
Delegate called when the file has changed, to rebuild the dal.

Return Value

An SqlMap

See Also

DomDaoManagerBuilder Class | IBatisNet.DataAccess.Configuration Namespace | DomDaoManagerBuilder.ConfigureAndWatch Overload List