protected string GenerateCSV( string[] fieldNames, IList<TEntity> items, bool includeHeader, string textQualifier, string textDelimiter )
Parameters
- fieldNames
- field names
- items
- list of items to be exported to CSV
- includeHeader
- Include header in CSV contents or not
- textQualifier
- Text qualifier
- textDelimiter
- Text delimiter
Return Value
CSV contents