C# Class nDump.Transformation.CsvToSqlInsertConverter

Inheritance: ICsvToSqlInsertConverter
Datei anzeigen Open project: SteveMoyer/nDump Class Usage Examples

Public Methods

Method Description
Convert ( ICsvTable csvTable ) : void
CsvToSqlInsertConverter ( IEscapingStrategy headerEscapingStrategy, IEscapingStrategy valueEscapingStrategy ) : System
CsvToSqlInsertConverter ( int numberOfRowsPerInsert ) : System

Private Methods

Method Description
EndFile ( ICsvTable csvTable, StringBuilder builder ) : void
GenerateInserts ( ICsvTable csvTable ) : void
InsertRow ( ICsvTable csvTable, StringBuilder builder, string separator ) : void
SetIdentityInsert ( ICsvTable csvTable, StringBuilder builder, string value ) : void
StartFile ( ICsvTable csvTable, StringBuilder builder, string insertHeader ) : void
TurnOffIdentityInsert ( ICsvTable csvTable, StringBuilder builder ) : void
TurnOnIdentityInsert ( ICsvTable csvTable, StringBuilder builder ) : void

Method Details

Convert() public method

public Convert ( ICsvTable csvTable ) : void
csvTable ICsvTable
return void

CsvToSqlInsertConverter() public method

public CsvToSqlInsertConverter ( IEscapingStrategy headerEscapingStrategy, IEscapingStrategy valueEscapingStrategy ) : System
headerEscapingStrategy IEscapingStrategy
valueEscapingStrategy IEscapingStrategy
return System

CsvToSqlInsertConverter() public method

public CsvToSqlInsertConverter ( int numberOfRowsPerInsert ) : System
numberOfRowsPerInsert int
return System