DynamicParameters Class |
Namespace: Dapper
The DynamicParameters type exposes the following members.
Name | Description | |
---|---|---|
DynamicParameters |
construct a dynamic parameter bag
| |
DynamicParameters(Object) |
construct a dynamic parameter bag
|
Name | Description | |
---|---|---|
ParameterNames |
All the names of the param in the bag, use Get to yank them out
| |
RemoveUnused |
If true, the command-text is inspected and only values that are clearly used are included on the connection
|
Name | Description | |
---|---|---|
Add(String, Object, NullableDbType, NullableParameterDirection, NullableInt32) |
Add a parameter to this dynamic parameter list
| |
Add(String, Object, NullableDbType, NullableParameterDirection, NullableInt32, NullableByte, NullableByte) |
Add a parameter to this dynamic parameter list
| |
AddDynamicParams |
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
| |
AddParameters |
Add all the parameters needed to the command just before it executes
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetT |
Get the value of a parameter
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OutputT |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ReplaceLiterals |
Replace all literal tokens with their text form
(Defined by SqlMapper.) |