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. Подробнее...
|
|
IDataService service locator.
static string ICSSoft.STORMNET.Business.DataServiceProvider.Decrypt |
( |
string |
cipherString, |
|
|
bool |
useHashing |
|
) |
| |
|
inlinestatic |
Decrypt method to get original string.
- Аргументы
-
cipherString | String for decription. |
useHashing | Use hashing for decription. |
- Возвращает
- Original string.
static string ICSSoft.STORMNET.Business.DataServiceProvider.Encrypt |
( |
string |
toEncrypt, |
|
|
bool |
useHashing |
|
) |
| |
|
inlinestatic |
Encryption method for customization string.
- Аргументы
-
toEncrypt | String for encrypt. |
useHashing | Use 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.
- Исключения
-
Exception | Throws 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.