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

Command class More...

Inheritance diagram for Utilities.ORM.Manager.QueryProvider.Default.Command:
Utilities.ORM.Manager.QueryProvider.Interfaces.ICommand

Public Member Functions

 Command (Action< Command, IList< dynamic >> CallBack, object Object, string SQLCommand, CommandType CommandType, IParameter[] Parameters)
 Constructor More...
 
 Command (Action< Command, IList< dynamic >> CallBack, object Object, string SQLCommand, CommandType CommandType, string ParameterStarter, object[] Parameters)
 Constructor More...
 
override bool Equals (object obj)
 Determines if the objects are equal More...
 
void Finalize (IList< dynamic > Result)
 Called after the command is run More...
 
override int GetHashCode ()
 Returns the hash code for the command More...
 
override string ToString ()
 Returns the string representation of the command More...
 

Properties

Action< Command, IList< dynamic > > CallBack [get]
 Call back More...
 
CommandType CommandType [get, set]
 Command type More...
 
bool Finalizable [get]
 Used to determine if Finalize should be called. More...
 
object Object [get]
 Object More...
 
ICollection< IParameterParameters [get]
 Parameters More...
 
string SQLCommand [get, set]
 SQL command More...
 
- Properties inherited from Utilities.ORM.Manager.QueryProvider.Interfaces.ICommand
CommandType CommandType [get]
 Command type More...
 
ICollection< IParameterParameters [get]
 Parameters associated with the command More...
 
string SQLCommand [get]
 Actual SQL command More...
 

Detailed Description

Command class

Definition at line 36 of file Command.cs.

Constructor & Destructor Documentation

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

Constructor

Parameters
SQLCommandSQL Command
CommandTypeCommand type
ParametersParameters
CallBackCalled when command has been executed
ObjectObject

Definition at line 46 of file Command.cs.

Utilities.ORM.Manager.QueryProvider.Default.Command.Command ( Action< Command, IList< dynamic >>  CallBack,
object  Object,
string  SQLCommand,
CommandType  CommandType,
string  ParameterStarter,
object[]  Parameters 
)

Constructor

Parameters
SQLCommandSQL Command
CommandTypeCommand type
ParametersParameters
ParameterStarterParameter starter
CallBackCalled when command has been executed
ObjectObject

Definition at line 65 of file Command.cs.

Member Function Documentation

override bool Utilities.ORM.Manager.QueryProvider.Default.Command.Equals ( object  obj)

Determines if the objects are equal

Parameters
objObject to compare to
Returns
Determines if the commands are equal

Definition at line 123 of file Command.cs.

void Utilities.ORM.Manager.QueryProvider.Default.Command.Finalize ( IList< dynamic >  Result)

Called after the command is run

Parameters
ResultResult of the command

Definition at line 149 of file Command.cs.

override int Utilities.ORM.Manager.QueryProvider.Default.Command.GetHashCode ( )

Returns the hash code for the command

Returns
The hash code for the object

Definition at line 159 of file Command.cs.

override string Utilities.ORM.Manager.QueryProvider.Default.Command.ToString ( )

Returns the string representation of the command

Returns
The string representation of the command

Definition at line 178 of file Command.cs.

Property Documentation

Action<Command, IList<dynamic> > Utilities.ORM.Manager.QueryProvider.Default.Command.CallBack
get

Call back

Definition at line 91 of file Command.cs.

CommandType Utilities.ORM.Manager.QueryProvider.Default.Command.CommandType
getset

Command type

Definition at line 96 of file Command.cs.

bool Utilities.ORM.Manager.QueryProvider.Default.Command.Finalizable
get

Used to determine if Finalize should be called.

Definition at line 101 of file Command.cs.

object Utilities.ORM.Manager.QueryProvider.Default.Command.Object
get

Object

Definition at line 106 of file Command.cs.

ICollection<IParameter> Utilities.ORM.Manager.QueryProvider.Default.Command.Parameters
get

Parameters

Definition at line 111 of file Command.cs.

string Utilities.ORM.Manager.QueryProvider.Default.Command.SQLCommand
getset

SQL command

Definition at line 116 of file Command.cs.


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