Table of Contents

Class DbServerTypeHelper

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

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

DbServerType DbServerType

Returns

DbProviderFactory

GetProviderInvariantName(DbServerType)

Returns the provider invariant name.

public static string GetProviderInvariantName(this DbServerType DbServerType)

Parameters

DbServerType DbServerType

Returns

string

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

DbServerType DbServerType

Returns

string