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