Cinchoo/ChoETL

Column Missing in CSV throws error when in DTO

bakes82 opened this issue · 1 comments

@Cinchoo Is it suppose to throw a missing col error if the csv doesnt have a col? EX: On the fiddler example if you add another string "Test" but dont have it in the CSV it errors with missing field.

		[ChoCSVRecordField(FieldName = "Test")]
		public string Test { get; set; }

yes, if you want to ignore, parse the file, using .Configure(c => c.ThrowAndStopOnMissingField = false)