Class DataOperations
Inheritance
System.Object
DataOperations
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()
Assembly: Syncfusion.EJ.dll
Syntax
public class DataOperations
Constructors
DataOperations()
Declaration
Methods
CovertToDataTable(IQueryable, SummaryType)
Declaration
public static object CovertToDataTable(IQueryable items, SummaryType type)
Parameters
Type |
Name |
Description |
System.Linq.IQueryable |
items |
|
SummaryType |
type |
|
Returns
Type |
Description |
System.Object |
|
Execute(IEnumerable, DataManager)
Declaration
public IEnumerable Execute(IEnumerable dataSource, DataManager manager)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
DataManager |
manager |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Execute(IEnumerable, GridProperties)
Declaration
public IEnumerable Execute(IEnumerable dataSource, GridProperties property)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
GridProperties |
property |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Execute(IEnumerable, GridProperties, Boolean)
Declaration
public IEnumerable Execute(IEnumerable dataSource, GridProperties property, bool ignorePaging)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
GridProperties |
property |
|
System.Boolean |
ignorePaging |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Execute<T>(IEnumerable<T>, DataManager)
Declaration
public IEnumerable<T> Execute<T>(IEnumerable<T> dataSource, DataManager manager)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
DataManager |
manager |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
GetColumnType(IEnumerable, String, Type)
Declaration
public Type GetColumnType(IEnumerable dataSource, string filterString, Type type)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.String |
filterString |
|
System.Type |
type |
|
Returns
Type |
Description |
System.Type |
|
GetDataType(IEnumerable, Type, String)
Declaration
public Type GetDataType(IEnumerable dataSource, Type type, string field)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Type |
type |
|
System.String |
field |
|
Returns
Type |
Description |
System.Type |
|
GetSummaryValue(IQueryable, SummaryType, String)
Declaration
public object GetSummaryValue(IQueryable items, SummaryType type, string field)
Parameters
Type |
Name |
Description |
System.Linq.IQueryable |
items |
|
SummaryType |
type |
|
System.String |
field |
|
Returns
Type |
Description |
System.Object |
|
GetTableColumnType(IEnumerable, String, Type)
Declaration
public Type GetTableColumnType(IEnumerable dataSource, string filterString, Type type)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.String |
filterString |
|
System.Type |
type |
|
Returns
Type |
Description |
System.Type |
|
Declaration
public IEnumerable PerformFiltering(IEnumerable dataSource, List<FilteredColumn> filteredColumns)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Collections.Generic.List<FilteredColumn> |
filteredColumns |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable<T> PerformFiltering<T>(IEnumerable<T> dataSource, List<FilteredColumn> filteredColumns)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Collections.Generic.List<FilteredColumn> |
filteredColumns |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Declaration
public IEnumerable PerformGrouping(IEnumerable dataSource, List<string> grouped)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Collections.Generic.List<System.String> |
grouped |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable PerformGrouping<T>(IEnumerable<T> dataSource, List<string> grouped)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Collections.Generic.List<System.String> |
grouped |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Type Parameters
Declaration
public IEnumerable PerformSearching(IEnumerable dataSource, List<SearchFilter> searchFilter)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Collections.Generic.List<SearchFilter> |
searchFilter |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable<T> PerformSearching<T>(IEnumerable<T> dataSource, List<SearchFilter> searchFilter)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Collections.Generic.List<SearchFilter> |
searchFilter |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Declaration
public IEnumerable PerformSelect(IEnumerable dataSource, List<string> select)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Collections.Generic.List<System.String> |
select |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable PerformSelect<T>(IEnumerable<T> dataSource, List<string> select)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Collections.Generic.List<System.String> |
select |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Type Parameters
Declaration
public IEnumerable PerformSkip(IEnumerable dataSource, int skip)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Int32 |
skip |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable<T> PerformSkip<T>(IEnumerable<T> dataSource, int skip)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Int32 |
skip |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Declaration
public IEnumerable PerformSorting(IEnumerable dataSource, List<SortedColumn> sortedColumns)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Collections.Generic.List<SortedColumn> |
sortedColumns |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable PerformSorting(IEnumerable dataSource, List<Sort> sortedColumns)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Collections.Generic.List<Sort> |
sortedColumns |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable<T> PerformSorting<T>(IEnumerable<T> dataSource, List<SortedColumn> sortedColumns)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Collections.Generic.List<SortedColumn> |
sortedColumns |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Declaration
public IEnumerable<T> PerformSorting<T>(IEnumerable<T> dataSource, List<Sort> sortedColumns)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Collections.Generic.List<Sort> |
sortedColumns |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Declaration
public IEnumerable PerformTake(IEnumerable dataSource, int take)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Int32 |
take |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable<T> PerformTake<T>(IEnumerable<T> dataSource, int take)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Int32 |
take |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Declaration
public IEnumerable PerformWhereFilter(IEnumerable dataSource, List<WhereFilter> whereFilter, string condition)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
System.Collections.Generic.List<WhereFilter> |
whereFilter |
|
System.String |
condition |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
public IEnumerable<T> PerformWhereFilter<T>(IEnumerable<T> dataSource, List<WhereFilter> whereFilter, string condition)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
dataSource |
|
System.Collections.Generic.List<WhereFilter> |
whereFilter |
|
System.String |
condition |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters