Class DbServerTypeHelper
Extension methods.
public static class DbServerTypeHelper
- Inheritance
-
DbServerTypeHelper
- Inherited Members
Methods
GetFactory(DbServerType)
Returns the DbProviderFactory associated with the specified DbServerType.
public static DbProviderFactory GetFactory(this DbServerType DbServerType)
Parameters
DbServerTypeDbServerType
Returns
GetProviderInvariantName(DbServerType)
Returns the provider invariant name.
public static string GetProviderInvariantName(this DbServerType DbServerType)
Parameters
DbServerTypeDbServerType
Returns
GetTemplateConnectionString(DbServerType)
Returns a template connection string for the specified DbServerType, with placeholders to be filled in by the caller.
public static string GetTemplateConnectionString(this DbServerType DbServerType)
Parameters
DbServerTypeDbServerType