CommerceQuery不返回Computed列的值 [英] CommerceQuery not returning the value of Computed column

查看:67
本文介绍了CommerceQuery不返回Computed列的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个列在我的配置文件系统中有一个计算列,其值是通过将一些字符串首字母与标识列值相结合来计算的,这样我就可以将该列作为具有自动递增的唯一列价值。


 当我创建一个新的 
CommerceCreate<实体名称>  并处理此创建请求,正确保存值并使用新值生成AuroIncrement字段值。


现在我尝试使用CommerceQuery并传递新的Guid值,我得到整个实体对象与其他提交的文件,但"自动增量(计算的
列)值为空。


我无法使用实体对象撤消AutoIncremented(Computed column)值。


请指导......


 



Mohamad Uman

解决方案

点击此链接


http://social.msdn .microsoft.com /论坛/ EN / commserver2009 /线程/ ab68d383-6ea7-47a6-A78D-dc6fe3faa7a9


I needed a column to have a computed column in my profile system ,whose value is computed with the help of concatinating some string initials with the identity column value so that i can have the column as unique column with auto incrementing value.

 When i create a new  CommerceCreate<Entity name>  and process this create request , the values are correctly getting saved and the AuroIncrement field value also get generated with new value.

Now i try CommerceQuery and pass the new Guid value I get the Whole Entity object with other filed fileds but the "AutoIncremented (Computed column) value is null.

I am not able to retreave the AutoIncremented (Computed column) value with the entity object.

please guide...

 


Mohamad Uman

解决方案

check this link

http://social.msdn.microsoft.com/Forums/en/commserver2009/thread/ab68d383-6ea7-47a6-a78d-dc6fe3faa7a9


这篇关于CommerceQuery不返回Computed列的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆