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

DaoManager.ConfigureAndWatch Method (String, ConfigureHandler)

NOTE: This method is now obsolete.

This method will be removed in a future version, use DomDaoManagerBuilder.Configure.


Configure and monitor the configuration file for modifications and automatically reconfigure

[Visual Basic]
<Obsolete(Message:="This method will be removed in a future version, use DomDaoManagerBuilder.Configure.", IsError:=False, TypeId:=System.ObsoleteAttribute)>
Overloads Public Shared Sub ConfigureAndWatch( _
   ByVal String As String, _
   ByVal ConfigureHandler As ConfigureHandler _
)
[C#]
[Obsolete(Message="This method will be removed in a future version, use DomDaoManagerBuilder.Configure.", IsError=False, TypeId=System.ObsoleteAttribute)]
public static void ConfigureAndWatch(
   String resource,
   ConfigureHandler configureDelegate
);

Parameters

resource
A relative ressource path from your Application root.
configureDelegate
Delegate called when the file has changed, to rebuild the dal.

See Also

DaoManager Class | IBatisNet.DataAccess Namespace | DaoManager.ConfigureAndWatch Overload List