Class EnumerableHelper
- Namespace
- JJMasterData.Commons.Util
- Assembly
- JJMasterData.Commons.dll
public static class EnumerableHelper
- Inheritance
-
EnumerableHelper
- Inherited Members
-
Methods
ConvertDataSetToArray(DataSet)
public static List<Dictionary<string, object?>>[] ConvertDataSetToArray(DataSet dataSet)
Parameters
dataSet
DataSet
Returns
- List<Dictionary<string, object>>[]
ConvertToDataTable(Element, IList<Dictionary<string, object?>>)
public static DataTable ConvertToDataTable(Element element, IList<Dictionary<string, object?>> data)
Parameters
element
Element
data
IList<Dictionary<string, object>>
Returns
- DataTable
ConvertToDataTable<T>(IEnumerable<T>)
public static DataTable ConvertToDataTable<T>(IEnumerable<T> list)
Parameters
list
IEnumerable<T>
Returns
- DataTable
Type Parameters
T
ConvertToDictionaryList(DataTable)
public static List<Dictionary<string, object?>> ConvertToDictionaryList(DataTable dataTable)
Parameters
dataTable
DataTable
Returns
- List<Dictionary<string, object>>