EdmFunctions.TrimStart(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression TrimStart (this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument);
static member TrimStart : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function TrimStart (stringArgument As DbExpression) As DbFunctionExpression

Parameters

stringArgument
DbExpression

An expression that specifies the string from which leading space should be removed.

Returns

A new DbFunctionExpression that returns value of stringArgument with leading space removed.

Applies to