if (_templateConnectionIsICloneable)
{
if (_templateConnection.ConnectionString != null && _templateConnection.ConnectionString != "")
{
return (IDbConnection) ((ICloneable)_templateConnection).Clone();
}
else
{
return (IDbConnection) Activator.CreateInstance(_templateConnection.GetType());
}
}
else
{
return (IDbConnection) Activator.CreateInstance(_templateConnection.GetType());
}
Roberto
On 5/18/05, Roberto R <[EMAIL PROTECTED]> wrote:
Sunil, I tried a quick test with the 1.7 RC3 provider and .NET 1.1 to see if it would work.
I'm not getting a login error but an exception being thrown when trying to set the connection string. Is this what you're getting?
Roberto