dpaquette / EntityFramework.Seeder

A collection of helper methods to help seed entity framework databases
MIT License
42 stars 12 forks source link

Change delimiter #5

Closed mtozlu closed 9 years ago

mtozlu commented 9 years ago

Hi,

Can we change the delimiter used in parsing the CSV file? CSVHelper has this method:

csv.Configuration.Delimiter = ",";

Can you expose it so we can configure it?

Thanks.

dpaquette commented 9 years ago

I will take a look. That definitely should be easy to do

mtozlu commented 9 years ago

Thanks. Actually there are other things that CsvHelper does too. Better expose whole class so that users freely configure if they want to.

dpaquette commented 9 years ago

Yeah, I was thinking of exposing the whole configuration class. I will get to this sometime this week. Of course, Pull Requests are welcome if you want to give it a try yourself.

dpaquette commented 9 years ago

All options are now available via Seeder.Configuration. See project readme for details. Thanks for the idea!

mtozlu commented 9 years ago

Thank you for implementing it.