tranforms a row of CSV data into UserInput key/value pairs to be submitted to the BLL
Namespace:
RainWorx.FrameWorx.MVC.Models.CSVAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public static void Translate( List<IColumnSpec> columns, ImportListing importData, Dictionary<string, string> input, bool commitIntent )
Parameters
- columns
- Type: System.Collections.GenericListIColumnSpec
list of columns specs - importData
- Type: RainWorx.FrameWorx.MVC.Models.CSVImportListing
list of data to be parsed - input
- Type: System.Collections.GenericDictionaryString, String
the container to stored the parsed data - commitIntent
- Type: SystemBoolean
true to treat as "publish ready" or false to parse for creation of drafts
See Also