Свойство | Тип | Описание | |
---|---|---|---|
Factory | IDataProviderFactory |
Метод | Описание | |
---|---|---|
GetDataProvider ( string providerName, string providerClass ) : IDataProvider |
Loads and Caches the EntitySpaces DataProvider. The providerClass parameter determines whether or not distributed transactions are used or if ADO.NET connection based transactions are used. When "DataProvider" is used the tgTransactionScope class is used to enforce transactions. When "DataProviderEnterprise" is used then the Microsoft TransactionScope class is used |
public static GetDataProvider ( string providerName, string providerClass ) : IDataProvider | ||
providerName | string | The name of the EntitySpaces DataProvider, for example, "Tiraggo.SqlClientProvider" |
providerClass | string | The class to use, either "DataProvider" or "DataProviderEnterprise" |
Результат | IDataProvider |