Represents a DbExpression that has a constant value.
Inheritance: DbExpression
 /// <summary>
 /// Translates the <paramref name="constantExpression"/> into a string representation.
 /// </summary>
 /// <param name="constantExpression">The <see cref="DbConstantExpression"/> to translate.</param>
 /// <returns><see cref="string"/></returns>
 protected override DbExpression VisitConstantExpression(DbConstantExpression constantExpression)
 {
     if (constantExpression.Value == null)
         return ExpressionFactory.Sql("NULL");
     var parameterName = string.Format(":?p{0}", Parameters.Count());
     CreateParameter(parameterName, constantExpression.Value);
     return ExpressionFactory.Sql(parameterName);
 }
 /// <summary>
 /// Translates the <paramref name="constantExpression"/> into a string representation.
 /// </summary>
 /// <param name="constantExpression">The <see cref="DbConstantExpression"/> to translate.</param>
 /// <returns><see cref="DbExpression"/></returns>
 protected virtual DbExpression VisitConstantExpression(DbConstantExpression constantExpression)
 {
     return constantExpression;
 }