The following changes were made to the DomainCategory methods:
|
|
IsValueLess |
Type Boolean; specifies whether or not a value exists. |
|
|
Value |
Type "double"; specifies the value. |
Prior to version 7.0 Service Pack 1, the above five fields could not be given a null value or a non-integer value. If for any reason they were given a null or a non-integer value, the API automatically assigned them the value zero instead.
As of version 7.0 Service Pack 1, these five fields were modified and can now be assigned null or non-integer values.
When Reading
Instead of
double target = MinimalServiceComponentLevelTarget;
Use
double target;
If (MinimalServiceComponentLevelTarget != null)
{
If (MinimalServiceComponentLevelTarget.IsValueLess == true)
target = null;
Else
target = MinimalServiceComponentLevelTarget.Value;
}
Else
target = null;
When Writing
Previously
MinimalServiceComponentLevelTarget = 99.999
Currently
MinimalServiceComponentLevelTarget = new OptionalDoubleEntity();
MinimalServiceComponentLevelTarget.IsValueLess = true;
MinimalServiceComponentLevelTarget.Value = 99.999;
| Copyright © 2012 CA. Tutti i diritti riservati. | Contatta CA Technologies |