EdmFunctions.ToLower Method (DbExpression)
Creates a DbFunctionExpression that invokes the canonical 'ToLower' function with the specified argument, which must have a string result type. The result type of the expression is also string.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- stringArgument
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
An expression that specifies the string that should be converted to lower case.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpressionA new DbFunctionExpression that returns value of stringArgument converted to lower case.
Exception | Condition |
---|---|
ArgumentNullException | stringArgument is null. |
ArgumentException | No overload of the canonical 'ToLower' function accepts an argument with the result type of stringArgument. |