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

상속: DbParameter, IDataParameter, IDbDataParameter, ICloneable
파일 보기 프로젝트 열기: elevate/mysqlconnector-.net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
EstimatedSize long
GetPSType int
ICloneable object
MySqlParameter System
Serialize void
SetDbType void
SetMySqlDbType void
SetTypeFromValue void

공개 메소드들

메소드 설명
Clone ( ) : MySqlParameter
MySqlParameter ( ) : System

Initializes a new instance of the MySqlParameter class.

MySqlParameter ( string parameterName, MySqlDbType dbType ) : System

Initializes a new instance of the MySqlParameter class with the parameter name and the data type.

MySqlParameter ( string parameterName, MySqlDbType dbType, int size ) : System

Initializes a new instance of the MySqlParameter class with the parameter name, the MySqlDbType, and the size.

MySqlParameter ( string parameterName, MySqlDbType dbType, int size, ParameterDirection direction, bool isNullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value ) : System

Initializes a new instance of the MySqlParameter class with the parameter name, the type of the parameter, the size of the parameter, a ParameterDirection, the precision of the parameter, the scale of the parameter, the source column, a DataRowVersion to use, and the value of the parameter.

MySqlParameter ( string parameterName, MySqlDbType dbType, int size, string sourceColumn ) : System

Initializes a new instance of the MySqlParameter class with the parameter name, the MySqlDbType, the size, and the source column name.

MySqlParameter ( string parameterName, object value ) : System

Initializes a new instance of the MySqlParameter class with the parameter name and a value of the new MySqlParameter.

ResetDbType ( ) : void

Resets the DbType property to its original settings.

ToString ( ) : string

Overridden. Gets a string containing the ParameterName.

비공개 메소드들

메소드 설명
EstimatedSize ( ) : long
GetPSType ( ) : int
ICloneable ( ) : object
MySqlParameter ( string name, MySqlDbType type, ParameterDirection dir, string col, DataRowVersion ver, object val ) : System
Serialize ( MySqlPacket packet, bool binary, MySqlConnectionStringBuilder settings ) : void
SetDbType ( DbType db_type ) : void
SetMySqlDbType ( MySqlDbType mysql_dbtype ) : void
SetTypeFromValue ( ) : void

메소드 상세

Clone() 공개 메소드

public Clone ( ) : MySqlParameter
리턴 MySqlParameter

MySqlParameter() 공개 메소드

Initializes a new instance of the MySqlParameter class.
public MySqlParameter ( ) : System
리턴 System

MySqlParameter() 공개 메소드

Initializes a new instance of the MySqlParameter class with the parameter name and the data type.
public MySqlParameter ( string parameterName, MySqlDbType dbType ) : System
parameterName string The name of the parameter to map.
dbType MySqlDbType One of the values.
리턴 System

MySqlParameter() 공개 메소드

Initializes a new instance of the MySqlParameter class with the parameter name, the MySqlDbType, and the size.
public MySqlParameter ( string parameterName, MySqlDbType dbType, int size ) : System
parameterName string The name of the parameter to map.
dbType MySqlDbType One of the values.
size int The length of the parameter.
리턴 System

MySqlParameter() 공개 메소드

Initializes a new instance of the MySqlParameter class with the parameter name, the type of the parameter, the size of the parameter, a ParameterDirection, the precision of the parameter, the scale of the parameter, the source column, a DataRowVersion to use, and the value of the parameter.
public MySqlParameter ( string parameterName, MySqlDbType dbType, int size, ParameterDirection direction, bool isNullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value ) : System
parameterName string The name of the parameter to map.
dbType MySqlDbType One of the values.
size int The length of the parameter.
direction ParameterDirection One of the values.
isNullable bool true if the value of the field can be null, otherwise false.
precision byte The total number of digits to the left and right of the decimal point to which is resolved.
scale byte The total number of decimal places to which is resolved.
sourceColumn string The name of the source column.
sourceVersion DataRowVersion One of the values.
value object An that is the value of the .
리턴 System

MySqlParameter() 공개 메소드

Initializes a new instance of the MySqlParameter class with the parameter name, the MySqlDbType, the size, and the source column name.
public MySqlParameter ( string parameterName, MySqlDbType dbType, int size, string sourceColumn ) : System
parameterName string The name of the parameter to map.
dbType MySqlDbType One of the values.
size int The length of the parameter.
sourceColumn string The name of the source column.
리턴 System

MySqlParameter() 공개 메소드

Initializes a new instance of the MySqlParameter class with the parameter name and a value of the new MySqlParameter.
public MySqlParameter ( string parameterName, object value ) : System
parameterName string The name of the parameter to map.
value object An that is the value of the .
리턴 System

ResetDbType() 공개 메소드

Resets the DbType property to its original settings.
public ResetDbType ( ) : void
리턴 void

ToString() 공개 메소드

Overridden. Gets a string containing the ParameterName.
public ToString ( ) : string
리턴 string