View Source
Class DbConnectionExtensions
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public static class DbConnectionExtensions
Methods
View Source
IsAvailable(IDbConnection)
Declaration
public static bool IsAvailable(this IDbConnection connection)
Parameters
Type |
Name |
Description |
System.Data.IDbConnection |
connection |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
IsConnectionAvailable(String, DbProviderFactory)
Declaration
public static bool IsConnectionAvailable(string connectionString, DbProviderFactory factory)
Parameters
Type |
Name |
Description |
System.String |
connectionString |
|
System.Data.Common.DbProviderFactory |
factory |
|
Returns
Type |
Description |
System.Boolean |
|