ToSqlParameter

Method ToSqlParameter Method

Class :CA.Blocks.SQLServerDataAccess.SqlServerParameterExtensions

Namespace :CA.Blocks.SQLServerDataAccess

Assembly : CA.Blocks.SQLServerDataAccess.dll

Overloads

StaticToSqlParameter(System.Int64,System.String)
StaticToSqlParameter(System.Nullable{System.Int64},System.String)
StaticToSqlParameter(System.Byte[],System.String)
StaticToSqlParameter(System.Boolean,System.String)
StaticToSqlParameter(System.Nullable{System.Boolean},System.String)
StaticToSqlParameter(System.Char,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLCharType)
StaticToSqlParameter(System.Nullable{System.Char},System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLCharType)
StaticToSqlParameter(System.DateTime,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDateTimeType)
StaticToSqlParameter(System.Nullable{System.DateTime},System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDateTimeType)
StaticToSqlParameter(System.Decimal,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDecimalType)
StaticToSqlParameter(System.Nullable{System.Decimal},System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDecimalType)
StaticToSqlParameter(System.Double,System.String)
StaticToSqlParameter(System.Nullable{System.Double},System.String)
StaticToSqlParameter(System.Int32,System.String)
StaticToSqlParameter(System.Nullable{System.Int32},System.String)
StaticToSqlParameter(System.Int16,System.String)
StaticToSqlParameter(System.Nullable{System.Int16},System.String)
StaticToSqlParameter(System.TimeSpan,System.String)
StaticToSqlParameter(System.Nullable{System.TimeSpan},System.String)
StaticToSqlParameter(System.Byte,System.String)
StaticToSqlParameter(System.Nullable{System.Byte},System.String)
StaticToSqlParameter(System.Guid,System.String)
StaticToSqlParameter(System.Nullable{System.Guid},System.String)
StaticToSqlParameter(System.String,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLStringType,System.Boolean,System.Int32)
StaticToSqlParameter(System.Int64,System.String)

Parameters
NameTypeDescription
inputSystem.Int64
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Int64},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Int64}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Byte[],System.String)

Parameters
NameTypeDescription
inputSystem.Byte[]
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Boolean,System.String)

Parameters
NameTypeDescription
inputSystem.Boolean
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Boolean},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Boolean}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Char,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLCharType)

Parameters
NameTypeDescription
inputSystem.Char
strParameterNameSystem.String
dbTypeCA.Blocks.SQLServerDataAccess.SpecificSQLCharTypeOptional
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Char},System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLCharType)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Char}
strParameterNameSystem.String
dbTypeCA.Blocks.SQLServerDataAccess.SpecificSQLCharTypeOptional
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.DateTime,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDateTimeType)

Parameters
NameTypeDescription
inputSystem.DateTime
strParameterNameSystem.String
dbTypeCA.Blocks.SQLServerDataAccess.SpecificSQLDateTimeTypeOptional
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.DateTime},System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDateTimeType)

Parameters
NameTypeDescription
inputSystem.Nullable{System.DateTime}
strParameterNameSystem.String
dbTypeCA.Blocks.SQLServerDataAccess.SpecificSQLDateTimeTypeOptional
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Decimal,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDecimalType)

Parameters
NameTypeDescription
inputSystem.Decimal
strParameterNameSystem.String
dbTypeCA.Blocks.SQLServerDataAccess.SpecificSQLDecimalTypeOptional
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Decimal},System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLDecimalType)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Decimal}
strParameterNameSystem.String
dbTypeCA.Blocks.SQLServerDataAccess.SpecificSQLDecimalTypeOptional
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Double,System.String)

Parameters
NameTypeDescription
inputSystem.Double
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Double},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Double}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Int32,System.String)

Parameters
NameTypeDescription
inputSystem.Int32
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Int32},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Int32}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Int16,System.String)

Parameters
NameTypeDescription
inputSystem.Int16
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Int16},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Int16}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.TimeSpan,System.String)

Parameters
NameTypeDescription
inputSystem.TimeSpan
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.TimeSpan},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.TimeSpan}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Byte,System.String)

Parameters
NameTypeDescription
inputSystem.Byte
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Byte},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Byte}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Guid,System.String)

Parameters
NameTypeDescription
inputSystem.Guid
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.Nullable{System.Guid},System.String)

Parameters
NameTypeDescription
inputSystem.Nullable{System.Guid}
strParameterNameSystem.String
Returns

System.Data.SqlClient.SqlParameter

StaticToSqlParameter(System.String,System.String,CA.Blocks.SQLServerDataAccess.SpecificSQLStringType,System.Boolean,System.Int32)

Parameters
NameTypeDescription
inputSystem.String
strParameterNameSystem.String
dbTypeCA.Blocks.SQLServerDataAccess.SpecificSQLStringTypeOptional
useEmptyStringForNullSystem.BooleanOptional
trimInputToSystem.Int32Optional
Returns

System.Data.SqlClient.SqlParameter