SnapDAL Library Documentation

DataFactory.ResetConnection Method 

Resets the connection to the providers connection object and the existing connection string. This is a work around the problem that a recording provider used in this datafactory will not have the real provider set until after the initial connection is established which causes the intial connection to be a mock connection when often you would prefer the connectio to be that of the recorded provider.

public void ResetConnection();

See Also

DataFactory Class | SnapDAL Namespace