C# Class System.Data.SqlClient.SqlCommandBuilder

Inheritance: System.Data.ProviderBase.AbstractDbCommandBuilder
Exibir arquivo Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
BuildCache void
BuildInformation void
CreateDeleteCommand SqlCommand
CreateInsertCommand SqlCommand
CreateNewCommand void
CreateParameter SqlParameter
CreateUpdateCommand SqlCommand
GetQuotedString string
IncludedInInsert bool
IncludedInUpdate bool
IncludedInWhereClause bool
RefreshSchema void
RowUpdatingHandler void

Public Methods

Method Description
DeriveParameters ( SqlCommand command ) : void
GetDeleteCommand ( ) : SqlCommand
GetInsertCommand ( ) : SqlCommand
GetUpdateCommand ( ) : SqlCommand
SqlCommandBuilder ( ) : System
SqlCommandBuilder ( SqlDataAdapter adapter ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
BuildCache ( bool closeConnection ) : void
BuildInformation ( DataTable schemaTable ) : void
CreateDeleteCommand ( DataRow row, DataTableMapping tableMapping ) : SqlCommand
CreateInsertCommand ( DataRow row, DataTableMapping tableMapping ) : SqlCommand
CreateNewCommand ( SqlCommand &command ) : void
CreateParameter ( int parmIndex, DataRow schemaRow ) : SqlParameter
CreateUpdateCommand ( DataRow row, DataTableMapping tableMapping ) : SqlCommand
GetQuotedString ( string value ) : string
IncludedInInsert ( DataRow schemaRow ) : bool
IncludedInUpdate ( DataRow schemaRow ) : bool
IncludedInWhereClause ( DataRow schemaRow ) : bool
RefreshSchema ( ) : void
RowUpdatingHandler ( object sender, System.Data.SqlClient.SqlRowUpdatingEventArgs e ) : void

Method Details

DeriveParameters() public static method

public static DeriveParameters ( SqlCommand command ) : void
command SqlCommand
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetDeleteCommand() public method

public GetDeleteCommand ( ) : SqlCommand
return SqlCommand

GetInsertCommand() public method

public GetInsertCommand ( ) : SqlCommand
return SqlCommand

GetUpdateCommand() public method

public GetUpdateCommand ( ) : SqlCommand
return SqlCommand

SqlCommandBuilder() public method

public SqlCommandBuilder ( ) : System
return System

SqlCommandBuilder() public method

public SqlCommandBuilder ( SqlDataAdapter adapter ) : System
adapter SqlDataAdapter
return System