如何解决Taleo 使用字段路径和整数 WCF C# 解码查询投影
在 Taleo for Application 中查询投影 -> Requisition -> JobInformation -> Country is in level,为了在 TCC 中做到这一点,我们曾经写过
<quer:projection alias="WorkLocation_Country">
<quer:decode>
<quer:field path="Requisition,JobInformation,PrimaryLocation,Level"/>
<quer:integer>2</quer:integer>
<quer:field path="Requisition,Name"/>
<quer:integer>3</quer:integer>
<quer:field path="Requisition,Parent,Name"/>
<quer:integer>4</quer:integer>
<quer:field path="Requisition,Name"/>
<quer:integer>5</quer:integer>
<quer:field path="Requisition,Name"/>
</quer:decode>
</quer:projection>
但是在我的 WCF 服务中,当我在 C# 中编写相同的内容时,我不确定如何传递 integre 字段,到目前为止我能够编写的内容如下: yield return newprojection()
{
alias = "WorkLocation_Country",Item = new decode()
{
Items = new field[]
{
new field() { path = prefix + "PrimaryLocation,Level",ownerQuery = "" },new integer() { Value = "2"},new field() { path = prefix + "PrimaryLocation,Name" },Name" }
}
}
};
这会产生错误,因为类整数不是类字段的属性。
有什么办法可以实现吗,需要修改引用类吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。