Craig's Utility Library  4.0 Beta
Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch Class Reference

LDAP batch class More...

Inheritance diagram for Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch:
Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch

Public Member Functions

 LDAPBatch (ISourceInfo Source)
 Constructor More...
 
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...
 
- Properties inherited from Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch
int CommandCount [get]
 Number of commands being batched More...
 

Detailed Description

LDAP batch class

Definition at line 41 of file LDAPBatch.cs.

Constructor & Destructor Documentation

Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.LDAPBatch ( ISourceInfo  Source)

Constructor

Parameters
SourceSource info

Definition at line 47 of file LDAPBatch.cs.

Member Function Documentation

IBatch Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.AddCommand ( Action< Command, IList< dynamic >>  CallBack,
object  Object,
CommandType  CommandType,
string  Command 
)

Adds a command to be batched

Parameters
CallBackCallback action
ObjectObject used in the callback action
CommandTypeCommand type
CommandCommand (SQL or stored procedure) to run
Returns
This

Implements Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.

Definition at line 87 of file LDAPBatch.cs.

IBatch Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.AddCommand ( Action< Command, IList< dynamic >>  CallBack,
object  Object,
string  Command,
CommandType  CommandType,
params object[]  Parameters 
)

Adds a command to be batched

Parameters
CallBackCallback action
ObjectObject used in the callback action
CommandCommand (SQL or stored procedure) to run
CommandTypeCommand type
ParametersParameters to add
Returns
This

Implements Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.

Definition at line 104 of file LDAPBatch.cs.

IBatch Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.AddCommand ( Action< Command, IList< dynamic >>  CallBack,
object  Object,
string  Command,
CommandType  CommandType,
params IParameter[]  Parameters 
)

Adds a command to be batched

Parameters
CallBackCallback action
ObjectObject used in the callback action
CommandCommand (SQL or stored procedure) to run
CommandTypeCommand type
ParametersParameters to add
Returns
This

Implements Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.

Definition at line 121 of file LDAPBatch.cs.

IBatch Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.AddCommand ( IBatch  Batch)

Adds a batch's commands to the current batch

Parameters
BatchBatch to add
Returns
This

Implements Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.

Definition at line 134 of file LDAPBatch.cs.

IList<IList<dynamic> > Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.Execute ( )

Executes the commands and returns the results

Returns
The results of the batched commands

Implements Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.

Definition at line 149 of file LDAPBatch.cs.

IBatch Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.RemoveDuplicateCommands ( )

Removes duplicate commands from the batch

Returns
This

Implements Utilities.ORM.Manager.QueryProvider.Interfaces.IBatch.

Definition at line 196 of file LDAPBatch.cs.

Property Documentation

int Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch.CommandCount
get

Number of commands being batched

Definition at line 57 of file LDAPBatch.cs.


The documentation for this class was generated from the following file: