Class ListExtensions
Enhances the object list's
Namespace: Sartorius.SAF.Extensions
Assembly: Sartorius.SAF.dll
Syntax
public static class ListExtensions
Methods
View SourceToDataTable<T>(IList<T>)
Extension Method - converts a list to a table.
cave: even complex structured are converted.
Declaration
public static DataTable ToDataTable<T>(this IList<T> objectList)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<T> | objectList | The obj. type of: IList<T> |
Returns
| Type | Description |
|---|---|
| DataTable |
Type Parameters
| Name | Description |
|---|---|
| T |