C# 클래스 MySql.Data.MySqlClient.MySqlDataAdapter

상속: System.Data.Common.DbDataAdapter, IDbDataAdapter, IDataAdapter, ICloneable
파일 보기 프로젝트 열기: elevate/mysqlconnector-.net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
OpenConnectionIfClosed void

공개 메소드들

메소드 설명
MySqlDataAdapter ( ) : System
MySqlDataAdapter ( MySqlCommand selectCommand ) : System
MySqlDataAdapter ( string selectCommandText, MySqlConnection connection ) : System
MySqlDataAdapter ( string selectCommandText, string selectConnString ) : System

보호된 메소드들

메소드 설명
AddToBatch ( IDbCommand command ) : int
ClearBatch ( ) : void
CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs

Overridden. See DbDataAdapter.CreateRowUpdatedEvent.

CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs

Overridden. See DbDataAdapter.CreateRowUpdatingEvent.

ExecuteBatch ( ) : int
GetBatchedParameter ( int commandIdentifier, int parameterIndex ) : IDataParameter
InitializeBatching ( ) : void
OnRowUpdated ( RowUpdatedEventArgs value ) : void

Overridden. Raises the RowUpdated event.

OnRowUpdating ( RowUpdatingEventArgs value ) : void

Overridden. Raises the RowUpdating event.

TerminateBatching ( ) : void
Update ( DataRow dataRows, DataTableMapping tableMapping ) : int

비공개 메소드들

메소드 설명
OpenConnectionIfClosed ( DataRowState state, List openedConnections ) : void

Open connection if it was closed. Necessary to workaround "connection must be open and valid" error with batched updates.

메소드 상세

AddToBatch() 보호된 메소드

protected AddToBatch ( IDbCommand command ) : int
command IDbCommand
리턴 int

ClearBatch() 보호된 메소드

protected ClearBatch ( ) : void
리턴 void

CreateRowUpdatedEvent() 보호된 메소드

Overridden. See DbDataAdapter.CreateRowUpdatedEvent.
protected CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs
dataRow System.Data.DataRow
command IDbCommand
statementType StatementType
tableMapping System.Data.Common.DataTableMapping
리턴 System.Data.Common.RowUpdatedEventArgs

CreateRowUpdatingEvent() 보호된 메소드

Overridden. See DbDataAdapter.CreateRowUpdatingEvent.
protected CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs
dataRow System.Data.DataRow
command IDbCommand
statementType StatementType
tableMapping System.Data.Common.DataTableMapping
리턴 System.Data.Common.RowUpdatingEventArgs

ExecuteBatch() 보호된 메소드

protected ExecuteBatch ( ) : int
리턴 int

GetBatchedParameter() 보호된 메소드

protected GetBatchedParameter ( int commandIdentifier, int parameterIndex ) : IDataParameter
commandIdentifier int
parameterIndex int
리턴 IDataParameter

InitializeBatching() 보호된 메소드

protected InitializeBatching ( ) : void
리턴 void

MySqlDataAdapter() 공개 메소드

public MySqlDataAdapter ( ) : System
리턴 System

MySqlDataAdapter() 공개 메소드

public MySqlDataAdapter ( MySqlCommand selectCommand ) : System
selectCommand MySqlCommand
리턴 System

MySqlDataAdapter() 공개 메소드

public MySqlDataAdapter ( string selectCommandText, MySqlConnection connection ) : System
selectCommandText string
connection MySqlConnection
리턴 System

MySqlDataAdapter() 공개 메소드

public MySqlDataAdapter ( string selectCommandText, string selectConnString ) : System
selectCommandText string
selectConnString string
리턴 System

OnRowUpdated() 보호된 메소드

Overridden. Raises the RowUpdated event.
protected OnRowUpdated ( RowUpdatedEventArgs value ) : void
value System.Data.Common.RowUpdatedEventArgs A MySqlRowUpdatedEventArgs that contains the event data.
리턴 void

OnRowUpdating() 보호된 메소드

Overridden. Raises the RowUpdating event.
protected OnRowUpdating ( RowUpdatingEventArgs value ) : void
value System.Data.Common.RowUpdatingEventArgs A MySqlRowUpdatingEventArgs that contains the event data.
리턴 void

TerminateBatching() 보호된 메소드

protected TerminateBatching ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( DataRow dataRows, DataTableMapping tableMapping ) : int
dataRows System.Data.DataRow
tableMapping System.Data.Common.DataTableMapping
리턴 int