Метод | Описание | |
---|---|---|
GetQueryTranslator ( ) : |
Gets a new DbQueryTranslator instance according to the configured default provider name. The default value is "System.Data.SqlClient", but this can be overridden in app/web.config. The default provider is also used to translate an expression in the DbExpression.ToString method. |
|
GetQueryTranslator ( string invariantProviderName ) : |
Gets a new DbQueryTranslator instance.
|
|
RegisterQueryTranslator ( string providerInvariantName, |
Registers a new DbQueryTranslator type for the target provider.
|
|
SetDefaultProvider ( string providerInvariantName ) : void |
Specifies the name of the default provider that will be used if otherwise not specified. This will also be used in the ToString() override to provide a textual representation of the query during debugging.
|
Метод | Описание | |
---|---|---|
CreateInstance ( string providerInvariantName, |
||
CreateProviderFactory ( string providerInvariantName ) : System.Data.Common.DbProviderFactory | ||
DbQueryTranslatorFactory ( ) : System | ||
RegisterBuiltinTranslators ( ) : void | ||
RegisterConfiguredTranslators ( ) : void |
public static GetQueryTranslator ( ) : |
||
Результат |
public static GetQueryTranslator ( string invariantProviderName ) : |
||
invariantProviderName | string | The invariant provider name. |
Результат |
public static RegisterQueryTranslator ( string providerInvariantName, |
||
providerInvariantName | string | The invarient name of the provider. |
queryTranslatorType | The concrete implementation of |
|
Результат | void |
public static SetDefaultProvider ( string providerInvariantName ) : void | ||
providerInvariantName | string | |
Результат | void |