Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eneswunbeaten/csvtool

CsvTool converts the given csv file into c# model, sql insert command and mongo insert command.
https://github.com/eneswunbeaten/csvtool

converter csv csv-converter csv-convertion csv-csharp csv-headers csv-import csv-mongo csv-parsing csv-reader csv-sql-import csvconverter csvfile csvparser csvtomodel csvtomongo csvtools csvtosql eneswunbeaten

Last synced: about 2 months ago
JSON representation

CsvTool converts the given csv file into c# model, sql insert command and mongo insert command.

Awesome Lists containing this project

README

        

# CsvTool
Converts Csv File to Mongo Insert, Sql Insert and C# Model Structure.

## Usage


  • When the program starts, it asks you to drag a .csv file onto it.
  • ![image](https://github.com/Eneswunbeaten/CsvTool/assets/130989028/f11f0355-7323-4aa1-b035-409541edda63)

  • Enter the delimiter in Write a delimiter. For example, parsers can be one of the following (| , : : ;)

  • What should the output be like, section selects exactly what the csv file will be converted to.

  • In the Table name section, the table name must be entered exactly correctly. The name of the output file will start with this table name (e.g. BoardCategories_Mongo.txt)

  • In the Export path section, select exactly which folder to save the resulting txt file. (Default saves to the desktop.)

  • Add Id checkbox section is opened if mongo is selected. Generates ObjectId.


  • ![image](https://github.com/Eneswunbeaten/CsvTool/assets/130989028/898f7c19-df1d-4917-a735-d74bfe3669f6)

  • If there are no column names in the first line of the csv file, i.e. in the headers, click the Add new names manually button and enter the column names one by one.
  • ![image](https://github.com/Eneswunbeaten/CsvTool/assets/130989028/a0ac4801-7e0a-4989-bd71-e6f5c9ab84a8)

  • Pressing the Start button starts the process and the result of the conversion is displayed on the screen.