Converts the specified expression into its equivalent string in C# style.
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Core.v18.2.dll
public static string ToCStyleString(
CriteriaOperator criteria
)
Public Shared Function ToCStyleString(
criteria As CriteriaOperator
) As String
Type | Name | Description |
---|---|---|
CriteriaOperator | criteria | A CriteriaOperator object that represents the expression to convert. |
Type | Description |
---|---|
String | A string representation of the specified expression. |
To convert the string representation of an expression into its CriteriaOperator equivalent, use the CriteriaOperator.Parse method.
The ToCStyleString method returns a string representation of the criteria which can be displayed in UI or saved in application log. However, this string is actually not SQL and cannot be considered as such.