Click or drag to resize
DynamicParameters Methods

The DynamicParameters type exposes the following members.

Methods
  NameDescription
Public methodAdd(String, Object, NullableDbType, NullableParameterDirection, NullableInt32)
Add a parameter to this dynamic parameter list
Public methodAdd(String, Object, NullableDbType, NullableParameterDirection, NullableInt32, NullableByte, NullableByte)
Add a parameter to this dynamic parameter list
Public methodAddDynamicParams
Append a whole object full of params to the dynamic EG: AddDynamicParams(new {A = 1, B = 2}) // will add property A and B to the dynamic
Protected methodAddParameters
Add all the parameters needed to the command just before it executes
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetT
Get the value of a parameter
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOutputT
Allows you to automatically populate a target property/field from output parameters. It actually creates an InputOutput parameter, so you can still pass data in.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodReplaceLiterals
Replace all literal tokens with their text form
(Defined by SqlMapper.)
Top
See Also