|
TableOperationsTToDataTable Method
|
Converts the given collection of records into a DataTable.
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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