Flexberry ORM 4.0.0
Класс ICSSoft.STORMNET.Business.DataServiceProvider

IDataService service locator. Подробнее...

Открытые статические члены

static string Encrypt (string toEncrypt, bool useHashing)
 Encryption method for customization string. Подробнее...
 
static string Decrypt (string cipherString, bool useHashing)
 Decrypt method to get original string. Подробнее...
 

Открытые атрибуты

const string ConfigurationDataServiceType = "DataServiceType"
 Name of configuration settings for DataService type. Подробнее...
 
const string ConfigurationCustomizationStrings = "CustomizationStrings"
 Name of configuration settings for customization strings. Ussually is connection string. Подробнее...
 

Свойства

static bool AlwaysNewDS [get, set]
 If true the DataServiceProvider.DataService returns new data service instance. Default true for web applications (HttpContext.Current is not null), false for other applications. Подробнее...
 
static IDataService DataService [get, set]
 Current IDataService instance. Подробнее...
 
static bool IsWebApp [get]
 Determinate is a web application. Will be check HttpContext.Current is not null for web applications. Подробнее...
 

Подробное описание

IDataService service locator.

Методы

static string ICSSoft.STORMNET.Business.DataServiceProvider.Decrypt ( string  cipherString,
bool  useHashing 
)
inlinestatic

Decrypt method to get original string.

Аргументы
cipherStringString for decription.
useHashingUse hashing for decription.
Возвращает
Original string.
static string ICSSoft.STORMNET.Business.DataServiceProvider.Encrypt ( string  toEncrypt,
bool  useHashing 
)
inlinestatic

Encryption method for customization string.

Аргументы
toEncryptString for encrypt.
useHashingUse hashing for encryption.
Возвращает
Encrypted string.

Данные класса

const string ICSSoft.STORMNET.Business.DataServiceProvider.ConfigurationCustomizationStrings = "CustomizationStrings"

Name of configuration settings for customization strings. Ussually is connection string.

const string ICSSoft.STORMNET.Business.DataServiceProvider.ConfigurationDataServiceType = "DataServiceType"

Name of configuration settings for DataService type.

Полный список свойств

bool ICSSoft.STORMNET.Business.DataServiceProvider.AlwaysNewDS
staticgetset

If true the DataServiceProvider.DataService returns new data service instance. Default true for web applications (HttpContext.Current is not null), false for other applications.

IDataService ICSSoft.STORMNET.Business.DataServiceProvider.DataService
staticgetset

Current IDataService instance.

Исключения
ExceptionThrows if your configuration file has wrong parameters.
bool ICSSoft.STORMNET.Business.DataServiceProvider.IsWebApp
staticget

Determinate is a web application. Will be check HttpContext.Current is not null for web applications.