DbExpressions.DbExpressionFactory.Concat C# (CSharp) Method

Concat() public method

Creates a new DbConcatExpression.
public Concat ( DbExpression leftExpression, DbExpression rightExpression ) : DbConcatExpression
leftExpression DbExpression The left operand of the concatenate operation.
rightExpression DbExpression The right operand of the concatenate operation.
return DbConcatExpression
        public DbConcatExpression Concat(DbExpression leftExpression, DbExpression rightExpression)
        {
            var concatExpression = new DbConcatExpression
                                   { LeftExpression = leftExpression, RightExpression = rightExpression };
            return concatExpression;
        }