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