how to load particular records from sql db to csv?

Nov 10, 2014 at 3:02 PM
I see you can use the csv tool to get all the data from a db into csv files. But what if i only want a hand full of records that describe a particular scenario that I want to test? Is there a best practice for loading csv files with certain records instead of all records? It would be great if i could just select the records I want using my normal DbContext/connection and then somehow insert them into another DbContext instance that uses a CsvDataLoader, and then have that context save the data into csv files. Is that possible?

Nov 13, 2014 at 8:26 PM

This a quite interesting idea, can you tell me how would you filter the records from the csv?