Craig's Utility Library
4.0 Beta
|
Batch interface, used to add commands and executes them More...
Public Member Functions | |
IBatch | AddCommand (Action< Command, IList< dynamic >> CallBack, object Object, CommandType CommandType, string Command) |
Adds a command to be batched More... | |
IBatch | AddCommand (Action< Command, IList< dynamic >> CallBack, object Object, string Command, CommandType CommandType, params object[] Parameters) |
Adds a command to be batched More... | |
IBatch | AddCommand (Action< Command, IList< dynamic >> CallBack, object Object, string Command, CommandType CommandType, params IParameter[] Parameters) |
Adds a command to be batched More... | |
IBatch | AddCommand (IBatch Batch) |
Adds a batch's commands to the current batch More... | |
IList< IList< dynamic > > | Execute () |
Executes the commands and returns the results More... | |
IBatch | RemoveDuplicateCommands () |
Removes duplicate commands from the batch More... | |
Properties | |
int | CommandCount [get] |
Number of commands being batched More... | |
IBatch Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.AddCommand | ( | Action< Command, IList< dynamic >> | CallBack, |
object | Object, | ||
CommandType | CommandType, | ||
string | Command | ||
) |
Adds a command to be batched
Command | Command (SQL or stored procedure) to run |
CommandType | Command type |
CallBack | Callback action |
Object | Object used in the callback action |
Implemented in Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch, and Utilities.ORM.Manager.QueryProvider.Default.DatabaseBatch.
IBatch Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.AddCommand | ( | Action< Command, IList< dynamic >> | CallBack, |
object | Object, | ||
string | Command, | ||
CommandType | CommandType, | ||
params object[] | Parameters | ||
) |
Adds a command to be batched
Command | Command (SQL or stored procedure) to run |
CommandType | Command type |
Parameters | Parameters to add |
CallBack | Callback action |
Object | Object used in the callback action |
Implemented in Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch, and Utilities.ORM.Manager.QueryProvider.Default.DatabaseBatch.
IBatch Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.AddCommand | ( | Action< Command, IList< dynamic >> | CallBack, |
object | Object, | ||
string | Command, | ||
CommandType | CommandType, | ||
params IParameter[] | Parameters | ||
) |
Adds a command to be batched
Command | Command (SQL or stored procedure) to run |
CommandType | Command type |
Parameters | Parameters to add |
CallBack | Callback action |
Object | Object used in the callback action |
Implemented in Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch, and Utilities.ORM.Manager.QueryProvider.Default.DatabaseBatch.
Adds a batch's commands to the current batch
Batch | Batch to add |
Implemented in Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch, and Utilities.ORM.Manager.QueryProvider.Default.DatabaseBatch.
IList<IList<dynamic> > Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.Execute | ( | ) |
Executes the commands and returns the results
Implemented in Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch, and Utilities.ORM.Manager.QueryProvider.Default.DatabaseBatch.
IBatch Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.RemoveDuplicateCommands | ( | ) |
Removes duplicate commands from the batch
Implemented in Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch, and Utilities.ORM.Manager.QueryProvider.Default.DatabaseBatch.
|
get |