Class DataUtils
Inheritance
System.Object
DataUtils
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Data.Expressions
Assembly: Telerik.WinControls.dll
Syntax
public class DataUtils
Constructors
DataUtils()
Declaration
public DataUtils()
Methods
CompareNulls(Object, Object)
Declaration
public static int CompareNulls(object xValue, object yValue)
Parameters
System.Object
xValue
|
System.Object
yValue
|
Returns
System.Int32
|
CreateInvalidExpressionException(String)
Declaration
public static Exception CreateInvalidExpressionException(string message)
Parameters
System.String
message
|
Returns
System.Exception
|
EscapeLikeValue(String)
Declaration
public static string EscapeLikeValue(string name)
Parameters
System.String
name
|
Returns
System.String
|
EscapeName(String)
Declaration
public static string EscapeName(string name)
Parameters
System.String
name
|
Returns
System.String
|
GetValue(PropertyDescriptorCollection, String, Object)
Declaration
public static object GetValue(PropertyDescriptorCollection descriptors, string propertyPath, object dataObject)
Parameters
System.ComponentModel.PropertyDescriptorCollection
descriptors
|
System.String
propertyPath
|
System.Object
dataObject
|
Returns
System.Object
|
Parse(String, Boolean)
Declaration
public static ExpressionNode Parse(string expression, bool caseSensitive)
Parameters
System.String
expression
|
System.Boolean
caseSensitive
|
Returns
ExpressionNode
|
ParseSortString(String)
Declaration
public static List<SortDescriptor> ParseSortString(string fieldName)
Parameters
System.String
fieldName
|
Returns
System.Collections.Generic.List<SortDescriptor>
|
SetValue(PropertyDescriptorCollection, String, Object, Object)
Declaration
public static void SetValue(PropertyDescriptorCollection descriptors, string propertyPath, object dataObject, object value)
Parameters
System.ComponentModel.PropertyDescriptorCollection
descriptors
|
System.String
propertyPath
|
System.Object
dataObject
|
System.Object
value
|
TryParse(String, Boolean, out ExpressionNode)
Declaration
public static bool TryParse(string expression, bool caseSensitive, out ExpressionNode expressionNode)
Parameters
System.String
expression
|
System.Boolean
caseSensitive
|
ExpressionNode
expressionNode
|
Returns
System.Boolean
|