public virtual IDictionary <string, int> ReadEntityMappings(string headerString) { var mappings = new MappingsDictionary(); var headers = headerString.Split(','); var headerIndex = 0; foreach (var header in headers) { mappings.Add(header, headerIndex); headerIndex++; } _entityMappings = mappings; return(mappings); }
public void SetUp() { _mappingsDictionary = new MappingsDictionary(); }