Server Reference Guide : .NET Interface : Classes : Ca.OpenROAD.ParameterData
 
Share this page          
Ca.OpenROAD.ParameterData
The ParameterData class wraps a corresponding instance of the OpenROAD.ParameterData COM class. The default constructor takes no arguments and creates an empty underlying COM PDO with no defined attributes.
An optional convenience constructor takes a string of attribute declarations and implicitly does the DeclareAttr calls. The declaration string is simply a whitespace-delimited list of attrName attrType pairs. For human readability, the "=" and ";" characters are also treated as whitespace.
The following table describes COM PDO wrapper methods:
Wrapper
Description
void Dispose();
Releases the underlying COM PDO instance. After the Dispose method is called, the .NET object instance becomes essentially useless and should be discarded.
void DeclareAttr(string attrName, string attrType);
Wraps the DeclareAttribute method of the underlying COM PDO
void SetAttr(string attrName, object attrValue);
Wraps the SetAttribute method of the COM PDO, with implied conversion of the input type
object GetAttr(string attrName);
Wraps the GetAttribute method of the COM PDO
int LastRow(string attrName);
Wraps the LastRow method of the underlying COM PDO
void SetEmpty(string attrName);
void SetNull(string attrName);
void SetBlankDate(string attrName);
void SetDateWithoutTime(string attrName, object attrValue);
Wrap the SetEmpty, SetNull, and SetBlankDate methods of the COM PDO
bool IsEmpty(string attrName);
bool IsNull(string attrName);
bool IsBlankDate(string attrName);
bool IsDateWithoutTime(string attrName);
Wrap the IsEmpty, IsNull, IsBlankDate, and IsDateWithoutTime methods of the COM PDO, and convert the result from an integer to a Boolean