'Declaration Function SetDataSourceLocator( _ ByVal command As IDbConnection, _ ByVal func As Action(Of LocateDataSourceArgs) _ ) As Boolean
bool SetDataSourceLocator( IDbConnection command, Action<LocateDataSourceArgs> func )
Parameters
- command
- The database connection command that needs to be assigned a data source.
- func
- The function which returns the data source for the command.
Return Value
true
if the locator is set successfully; otherwise, false
.