C# Class DbSlim.Insert

Exibir arquivo Open project: Ang3lFir3/DbSlim

Public Methods

Method Description
DoTable ( List fitTable ) : List
Insert ( string connectionString, string tableName ) : System
Insert ( string connectionString, string tableName, string identyInsert ) : System

Private Methods

Method Description
BulkLoadTableIntoDatabase ( SqlConnection connection, DataTable table ) : void
GetTableSchema ( List fitTable, SqlConnection connection ) : DataTable
LoadDataTableFromSlimTable ( List slimTable, DataTable table ) : void
ResetIdentyInsert ( SqlConnection connection ) : void
SetIdentyInsert ( SqlConnection connection ) : void
VerifyTableColumnsMatch ( List slimTable, DataTable table ) : void

Method Details

DoTable() public method

public DoTable ( List fitTable ) : List
fitTable List
return List

Insert() public method

public Insert ( string connectionString, string tableName ) : System
connectionString string
tableName string
return System

Insert() public method

public Insert ( string connectionString, string tableName, string identyInsert ) : System
connectionString string
tableName string
identyInsert string
return System