C# 클래스 System.Data.SqlClient.SqlParameter

상속: System.Data.Common.DbParameter, IDbDataParameter, IDataParameter, ICloneable
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AssertCachedPropertiesAreValid void
AssertPropertiesAreValid void
BinarySize int
CoerceValue object
FixStreamDataForNonPLP void
GetActualFieldsAndProperties void
GetActualPrecision byte
GetActualScale byte
GetActualSize int
GetCoercedValue object
GetMetaSqlDbTypeOnly SqlDbType
GetMetaTypeOnly MetaType
GetParameterSize int
MetaDataForSmi Microsoft.SqlServer.Server.SmiParameterMetaData
ParseTypeName string[]
Prepare void
PropertyChanging void
PropertyTypeChanging void
SetSqlBuffer void
ShouldSerializePrecision bool
ShouldSerializeScale bool
ShouldSerializeSqlDbType bool
StringSize int
Validate void
ValidateTypeLengths MetaType
ValuePrecision byte
ValueScale byte
ValueSize int

공개 메소드들

메소드 설명
ResetDbType ( ) : void
ResetSqlDbType ( ) : void
SqlParameter ( ) : System.Collections.Generic
SqlParameter ( string parameterName, SqlDbType dbType ) : System.Collections.Generic
SqlParameter ( string parameterName, SqlDbType dbType, int size ) : System.Collections.Generic
SqlParameter ( string parameterName, SqlDbType dbType, int size, string sourceColumn ) : System.Collections.Generic
SqlParameter ( string parameterName, object value ) : System.Collections.Generic

비공개 메소드들

메소드 설명
AssertCachedPropertiesAreValid ( ) : void
AssertPropertiesAreValid ( object value, bool isSqlType = null, bool isDataFeed = null, bool isNull = null ) : void
BinarySize ( object value, bool isSqlType ) : int
CoerceValue ( object value, MetaType destinationType, bool &coercedToDataFeed, bool &typeChanged, bool allowStreaming = true ) : object
FixStreamDataForNonPLP ( ) : void
GetActualFieldsAndProperties ( List &fields, SmiMetaDataPropertyCollection &props, System.Data.SqlClient.ParameterPeekAheadValue &peekAhead ) : void
GetActualPrecision ( ) : byte
GetActualScale ( ) : byte
GetActualSize ( ) : int
GetCoercedValue ( ) : object
GetMetaSqlDbTypeOnly ( ) : SqlDbType
GetMetaTypeOnly ( ) : MetaType
GetParameterSize ( ) : int
MetaDataForSmi ( System.Data.SqlClient.ParameterPeekAheadValue &peekAhead ) : Microsoft.SqlServer.Server.SmiParameterMetaData
ParseTypeName ( string typeName ) : string[]
Prepare ( SqlCommand cmd ) : void
PropertyChanging ( ) : void
PropertyTypeChanging ( ) : void
SetSqlBuffer ( SqlBuffer buff ) : void
ShouldSerializePrecision ( ) : bool
ShouldSerializeScale ( ) : bool
ShouldSerializeSqlDbType ( ) : bool
StringSize ( object value, bool isSqlType ) : int
Validate ( int index, bool isCommandProc ) : void
ValidateTypeLengths ( ) : MetaType
ValuePrecision ( object value ) : byte
ValueScale ( object value ) : byte
ValueSize ( object value ) : int

메소드 상세

ResetDbType() 공개 메소드

public ResetDbType ( ) : void
리턴 void

ResetSqlDbType() 공개 메소드

public ResetSqlDbType ( ) : void
리턴 void

SqlParameter() 공개 메소드

public SqlParameter ( ) : System.Collections.Generic
리턴 System.Collections.Generic

SqlParameter() 공개 메소드

public SqlParameter ( string parameterName, SqlDbType dbType ) : System.Collections.Generic
parameterName string
dbType SqlDbType
리턴 System.Collections.Generic

SqlParameter() 공개 메소드

public SqlParameter ( string parameterName, SqlDbType dbType, int size ) : System.Collections.Generic
parameterName string
dbType SqlDbType
size int
리턴 System.Collections.Generic

SqlParameter() 공개 메소드

public SqlParameter ( string parameterName, SqlDbType dbType, int size, string sourceColumn ) : System.Collections.Generic
parameterName string
dbType SqlDbType
size int
sourceColumn string
리턴 System.Collections.Generic

SqlParameter() 공개 메소드

public SqlParameter ( string parameterName, object value ) : System.Collections.Generic
parameterName string
value object
리턴 System.Collections.Generic