Show / Hide Table of Contents

Class ListExtensions

Enhances the object list's

Inheritance
System.Object
ListExtensions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Extensions
Assembly: Sartorius.SAF.dll
Syntax
public static class ListExtensions

Methods

View Source

ToDataTable<T>(IList<T>)

Extension Method - converts a list to a table. cave: even complex structured are converted. Extension Method

Declaration
public static DataTable ToDataTable<T>(this IList<T> objectList)
Parameters
Type Name Description
System.Collections.Generic.IList<T> objectList

The obj. type of: IList<T>

Returns
Type Description
System.Data.DataTable
Type Parameters
Name Description
T
  • View Source
Back to top Generated by DocFX