|
TableOperations<T> .ToDataTable Method
|
Converts the given collection of records into a DataTable.
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
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 IEnumerable<T>
- The collection of records to be inserted into the data table.
Return Value
DataTableA data table containing data from the given records.
See Also