C# Class System.Data.SqlClient.SqlParameter

Inheritance: System.Data.Common.DbParameter, IDbDataParameter, IDataParameter, ICloneable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ResetDbType() public méthode

public ResetDbType ( ) : void
Résultat void

ResetSqlDbType() public méthode

public ResetSqlDbType ( ) : void
Résultat void

SqlParameter() public méthode

public SqlParameter ( ) : System.Collections.Generic
Résultat System.Collections.Generic

SqlParameter() public méthode

public SqlParameter ( string parameterName, SqlDbType dbType ) : System.Collections.Generic
parameterName string
dbType SqlDbType
Résultat System.Collections.Generic

SqlParameter() public méthode

public SqlParameter ( string parameterName, SqlDbType dbType, int size ) : System.Collections.Generic
parameterName string
dbType SqlDbType
size int
Résultat System.Collections.Generic

SqlParameter() public méthode

public SqlParameter ( string parameterName, SqlDbType dbType, int size, string sourceColumn ) : System.Collections.Generic
parameterName string
dbType SqlDbType
size int
sourceColumn string
Résultat System.Collections.Generic

SqlParameter() public méthode

public SqlParameter ( string parameterName, object value ) : System.Collections.Generic
parameterName string
value object
Résultat System.Collections.Generic