For example, a relationship might be defined to associate state name with state abbreviations. 例如,必须定义一个关系来将国家名和国家缩写联系起来。
Create a data set that lists work items, including the STATE_NAME column. 创建一个列出工作项的数据集,包括STATENAME列。
As with the severity enumeration described in the previous section, it would be more convenient to have the state group and state name information in the same data set as the work item information. 有了前面章节中提到过的严重性枚举,在与工作项信息相同的数据集中拥有状态组和状态名(SN)信息就更加方便了。
A state name such as TX may be considered invalid by VeriSign, in which case you would receive the error The state value used in the submitted CSR is not valid. 如果输入诸如TX之类的州名称,可能会被VeriSign视作无效,这时您将接收到错误消息ThestatevalueusedinthesubmittedCSRisnotvalid。
Alternatively, if you don't want to hardcode the state name, you can use a variable and dynamically pass the value to your query method when it runs. 您还可以选择,如果您不想硬码状态名(SN),您可以使用一个变量,并动态的将此变量在查询运行时,传递给查询方法。