+ (String Concatenation) (Entity SQL)
Concatenates two strings.
expression + expression
Any valid expression of the EDM.String data types. Both expressions must be of the same data type, or one expression must be able to be implicitly converted to the data type of the other expression.
The data type that results from the implicit type promotion of the two arguments. For more information about implicit type promotion, see Type System.
The following Entity SQL query uses the + operator to concatenates two strings. The query is based on the AdventureWorks Sales Model. To compile and run this query, follow these steps:
Follow the procedure in How to: Execute a Query that Returns PrimitiveType Results.
Pass the following query as an argument to the
[!CODE [DP EntityServices Concepts 2#CONCAT](../CodeSnippet/VS_Snippets_Data/dp entityservices concepts 2#concat)]