DynamicParametersAdd Method (String, Object, NullableDbType, NullableParameterDirection, NullableInt32, NullableByte, NullableByte) |
Add a parameter to this dynamic parameter list
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Add(
string name,
Object value = null,
Nullable<DbType> dbType = null,
Nullable<ParameterDirection> direction = null,
Nullable<int> size = null,
Nullable<byte> precision = null,
Nullable<byte> scale = null
)
Public Sub Add (
name As String,
Optional value As Object = Nothing,
Optional dbType As Nullable(Of DbType) = Nothing,
Optional direction As Nullable(Of ParameterDirection) = Nothing,
Optional size As Nullable(Of Integer) = Nothing,
Optional precision As Nullable(Of Byte) = Nothing,
Optional scale As Nullable(Of Byte) = Nothing
)
public:
void Add(
String^ name,
Object^ value = nullptr,
Nullable<DbType> dbType = nullptr,
Nullable<ParameterDirection> direction = nullptr,
Nullable<int> size = nullptr,
Nullable<unsigned char> precision = nullptr,
Nullable<unsigned char> scale = nullptr
)
member Add :
name : string *
?value : Object *
?dbType : Nullable<DbType> *
?direction : Nullable<ParameterDirection> *
?size : Nullable<int> *
?precision : Nullable<byte> *
?scale : Nullable<byte>
(* Defaults:
let _value = defaultArg value null
let _dbType = defaultArg dbType null
let _direction = defaultArg direction null
let _size = defaultArg size null
let _precision = defaultArg precision null
let _scale = defaultArg scale null
*)
-> unit
Parameters
- name
- Type: SystemString
- value (Optional)
- Type: SystemObject
- dbType (Optional)
- Type: SystemNullableDbType
- direction (Optional)
- Type: SystemNullableParameterDirection
- size (Optional)
- Type: SystemNullableInt32
- precision (Optional)
- Type: SystemNullableByte
- scale (Optional)
- Type: SystemNullableByte
See Also