You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Models Namespaces > RainWorx.FrameWorx.MVC.Models.CSV > Translate Method

CSVTranslate Method

AuctionWorx 3.5 API
tranforms a row of CSV data into UserInput key/value pairs to be submitted to the BLL

Namespace:  RainWorx.FrameWorx.MVC.Models.CSV
Assembly:  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

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.