Class DataSetExtensions
Inheritance
Namespace: Syncfusion.Data.Extensions
Assembly: Syncfusion.Data.Portable.dll
Syntax
public static class DataSetExtensions : Object
Methods
AndPredicate(String)
Creates a And filter predicate for the specified string.
Declaration
public static string AndPredicate(this string thisString)
Parameters
Type | Name | Description |
---|---|---|
System.String | thisString |
Returns
Type | Description |
---|---|
System.String | The And filter predicate for the specified string. |
OrderBy(String, String)
Sorts the elements of a sequence in ascending order according to a propertyName
.
Declaration
public static string OrderBy(this string thisString, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | thisString | |
System.String | propertyName |
Returns
Type | Description |
---|---|
System.String | An System.Linq.IOrderedEnumerable<> whose elements are sorted in ascending order according to a key. |
OrderByDescending(String, String)
Sorts the elements of a sequence in descending order according to a propertyName
.
Declaration
public static string OrderByDescending(this string thisString, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | thisString | |
System.String | propertyName |
Returns
Type | Description |
---|---|
System.String | An System.Linq.IOrderedEnumerable<> whose elements are sorted in descending order according to a key. |
OrPredicate(String)
Creates a Or filter predicate for the specified string.
Declaration
public static string OrPredicate(this string thisString)
Parameters
Type | Name | Description |
---|---|---|
System.String | thisString |
Returns
Type | Description |
---|---|
System.String | The Or filter predicate for the specified string. |
Predicate(String, String, Object, FilterType)
Creates the filter predicate for the given string with the filter type.
Declaration
public static string Predicate(this string thisString, string property, object value, FilterType filterType)
Parameters
Type | Name | Description |
---|---|---|
System.String | thisString | |
System.String | property | |
System.Object | value | |
FilterType | filterType |
Returns
Type | Description |
---|---|
System.String | The filter predicate for the given string with the filter type. |
ThenBy(String, String)
Performs a subsequent ordering of the elements in a sequence in ascending order according to a propertyName
.
Declaration
public static string ThenBy(this string thisString, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | thisString | |
System.String | propertyName |
Returns
Type | Description |
---|---|
System.String | An System.Linq.IOrderedEnumerable<> whose elements are sorted according to a key. |
ThenByDescending(String, String)
Performs a subsequent ordering of the elements in a sequence in descending order according to a propertyName
.
Declaration
public static string ThenByDescending(this string thisString, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | thisString | |
System.String | propertyName |
Returns
Type | Description |
---|---|
System.String | An System.Linq.IOrderedEnumerable<> whose elements are sorted in descending order according to a key. |