public bool IsPooledConnectionString(string dbConnStr)
{
if(dbConnStr != null)
{
if(Regex.Match(dbConnStr, MinPoolSize, RegexOptions.IgnoreCase).Success)
{
return true;
}
else if(Regex.Match(dbConnStr, MaxPoolSize, RegexOptions.IgnoreCase).Success)
{
return true;
}
else if(Regex.Match(dbConnStr, Pooling , RegexOptions.IgnoreCase).Success)
{
return false;
}
}
return true;
}