C# Class nDump.Transformation.CsvToSqlInsertConverter

Inheritance: ICsvToSqlInsertConverter
Afficher le fichier Open project: SteveMoyer/nDump Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public Convert ( ICsvTable csvTable ) : void
csvTable ICsvTable
Résultat void

CsvToSqlInsertConverter() public méthode

public CsvToSqlInsertConverter ( IEscapingStrategy headerEscapingStrategy, IEscapingStrategy valueEscapingStrategy ) : System
headerEscapingStrategy IEscapingStrategy
valueEscapingStrategy IEscapingStrategy
Résultat System

CsvToSqlInsertConverter() public méthode

public CsvToSqlInsertConverter ( int numberOfRowsPerInsert ) : System
numberOfRowsPerInsert int
Résultat System