C# 클래스 NSoft.NFramework.Data.MySql.EnterpriseLibrary.MySqlDatabase

상속: Microsoft.Practices.EnterpriseLibrary.Data.Database
파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
BuildParameterName ( string name ) : string

Builds a value parameter name for the current database.

MySqlDatabase ( string connectionString ) : System

보호된 메소드들

메소드 설명
DeriveParameters ( DbCommand discoveryCommand ) : void

Retrieves parameter information from the stored procedure specified in the DbCommand and populates the Parameters collection of the specified DbCommand object.

The DbCommand must be a MySqlCommand instance.

SameNumberOfParametersAndValues ( DbCommand command, object values ) : bool

Determines if the number of parameters in the command matches the array of parameter values.

SetUpRowUpdatedEvent ( DbDataAdapter adapter ) : void

Sets the RowUpdated event for the data adapter.

비공개 메소드들

메소드 설명
AddInParameter ( DbCommand command, string name, MySqlDbType dbType ) : void
AddInParameter ( DbCommand command, string name, MySqlDbType dbType, object value ) : void
AddInParameter ( DbCommand command, string name, MySqlDbType dbType, string sourceColumn, DataRowVersion sourceVersion ) : void
AddOutParameter ( DbCommand command, string name, MySqlDbType dbType, int size ) : void
AddParameter ( DbCommand command, string name, MySqlDbType dbType, ParameterDirection direction, string sourceColumn, DataRowVersion sourceVersion, object value ) : void
AddParameter ( DbCommand command, string name, MySqlDbType dbType, int size, ParameterDirection direction, bool nullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value ) : void
CheckIfMySqlCommand ( DbCommand command ) : MySqlCommand
ConfigureParameter ( MySqlParameter parameter, string name, MySqlDbType dbType, int size, ParameterDirection direction, bool nullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value ) : void
CreateParameter ( string name, MySqlDbType dbType, int size, ParameterDirection direction, bool nullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value ) : DbParameter
OnMySqlRowUpdated ( object sender, MySqlRowUpdatedEventArgs rowThatCouldNotBeWritten ) : void

Called when [my SQL row updated].

메소드 상세

BuildParameterName() 공개 메소드

Builds a value parameter name for the current database.
public BuildParameterName ( string name ) : string
name string The name of the parameter.
리턴 string

DeriveParameters() 보호된 메소드

Retrieves parameter information from the stored procedure specified in the DbCommand and populates the Parameters collection of the specified DbCommand object.
The DbCommand must be a MySqlCommand instance.
protected DeriveParameters ( DbCommand discoveryCommand ) : void
discoveryCommand DbCommand The to do /// the discovery.
리턴 void

MySqlDatabase() 공개 메소드

public MySqlDatabase ( string connectionString ) : System
connectionString string
리턴 System

SameNumberOfParametersAndValues() 보호된 메소드

Determines if the number of parameters in the command matches the array of parameter values.
protected SameNumberOfParametersAndValues ( DbCommand command, object values ) : bool
command DbCommand The containing the /// parameters.
values object The array of parameter values.
리턴 bool

SetUpRowUpdatedEvent() 보호된 메소드

Sets the RowUpdated event for the data adapter.
protected SetUpRowUpdatedEvent ( DbDataAdapter adapter ) : void
adapter System.Data.Common.DbDataAdapter The to set the /// event.
리턴 void