实体SQL中的字符串连接如何? [英] How to String Concatenation in Entity SQL?
本文介绍了实体SQL中的字符串连接如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
一个非常快的问题
SQL:
SELECT VALUE ROW( ('#' + CAST(pack.PackageID as Edm.String)) as PackageID) From ProductPackage
它显示错误,edm.String没有找到,我也尝试String或Varchar,仍然错误。
It show error, edm.String not found, I also try String or Varchar,still error.
我已经阅读了该参考但没有帮助。
I have read that reference but no help.
http://msdn.microsoft。 com / en-us / library / bb386905.aspx
推荐答案
这是一个文档问题。尝试 System.String
而不是 Edm.String
。
It is a documentation problem. Try System.String
instead of Edm.String
.
这篇关于实体SQL中的字符串连接如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文