This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.CsvHelper.
Summary
Writes the records to the speficed file using the specified mapping and settings.
Syntax
public void WriteRecords<T>(FilePath csvFile, List<T> records, Dictionary<string, string> mapping, CsvHelperSettings settings)
Type Parameters
Name |
Description |
T |
The record type. |
Parameters
Name |
Type |
Description |
csvFile |
FilePath |
The CSV file to write. |
records |
List<T> |
The records to write. |
mapping |
Dictionary<string, string> |
The property column mapping. |
settings |
CsvHelperSettings |
The settings. |
Return Value