|
TableOperationsTToDataTable Method
|
Converts the given collection of records into a DataTable.
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
Syntaxpublic DataTable ToDataTable(
IEnumerable<T> records
)
Public Function ToDataTable (
records As IEnumerable(Of T)
) As DataTable
public:
DataTable^ ToDataTable(
IEnumerable<T>^ records
)
member ToDataTable :
records : IEnumerable<'T> -> DataTable
function ToDataTable(records);
View SourceParameters
- records IEnumerableT
- The collection of records to be inserted into the data table.
Return Value
DataTableA data table containing data from the given records.
See Also