Craig's Utility Library
4.0 Beta
|
Holds parameter information More...
Public Member Functions | |
Parameter (string ID, DataType Value, ParameterDirection Direction=ParameterDirection.Input, string ParameterStarter="@") | |
Constructor More... | |
Parameter (string ID, SqlDbType Type, object Value=null, ParameterDirection Direction=ParameterDirection.Input, string ParameterStarter="@") | |
Constructor More... | |
Parameter (string ID, DbType Type, object Value=null, ParameterDirection Direction=ParameterDirection.Input, string ParameterStarter="@") | |
Constructor More... | |
override void | AddParameter (DbCommand Helper) |
Adds this parameter to the SQLHelper More... | |
override IParameter | CreateCopy (string Suffix) |
Creates a copy of the parameter More... | |
Public Member Functions inherited from Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< DataType > | |
string | AddParameter (string Command) |
Finds itself in the string command and adds the value More... | |
override bool | Equals (object obj) |
Determines if the objects are equal More... | |
override int | GetHashCode () |
Gets the hash code for the object More... | |
override string | ToString () |
Returns the string version of the parameter More... | |
Public Member Functions inherited from Utilities.ORM.Manager.QueryProvider.Interfaces.IParameter< DataType > | |
void | AddParameter (DbCommand Helper) |
Adds this parameter to the SQLHelper More... | |
string | AddParameter (string Command) |
Finds itself in the string command and adds the value More... | |
IParameter | CreateCopy (string Suffix) |
Creates a copy of the parameter More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< DataType > | |
static bool | operator!= (ParameterBase< DataType > first, ParameterBase< DataType > second) |
!= operator More... | |
static bool | operator== (ParameterBase< DataType > first, ParameterBase< DataType > second) |
The == operator More... | |
Protected Member Functions inherited from Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< DataType > | |
ParameterBase (string ID, DataType Value, ParameterDirection Direction=ParameterDirection.Input, string ParameterStarter="@") | |
Constructor More... | |
ParameterBase (string ID, SqlDbType Type, object Value=null, ParameterDirection Direction=ParameterDirection.Input, string ParameterStarter="@") | |
Constructor More... | |
ParameterBase (string ID, DbType Type, object Value=null, ParameterDirection Direction=ParameterDirection.Input, string ParameterStarter="@") | |
Constructor More... | |
Properties inherited from Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< DataType > | |
virtual DbType | DatabaseType [get, set] |
Database type More... | |
virtual ParameterDirection | Direction [get, set] |
Direction of the parameter More... | |
virtual string | ID [get, set] |
The Name that the parameter goes by More... | |
object | InternalValue [get] |
Gets the internal value. More... | |
string | ParameterStarter [get, set] |
Starting string of the parameter More... | |
virtual DataType | Value [get, set] |
Parameter value More... | |
virtual string | BatchID [get, set] |
Batch ID More... | |
Properties inherited from Utilities.ORM.Manager.QueryProvider.Interfaces.IParameter< DataType > | |
T | Value [get, set] |
The value that the parameter is associated with More... | |
DbType | DatabaseType [get, set] |
Database type More... | |
ParameterDirection | Direction [get, set] |
Direction of the parameter More... | |
string | ID [get, set] |
The name that the parameter goes by More... | |
object | InternalValue [get] |
Gets the internal value. More... | |
Holds parameter information
DataType | Data type of the parameter |
Definition at line 33 of file Parameter.cs.
Utilities.ORM.Manager.QueryProvider.Default.Parameter< DataType >.Parameter | ( | string | ID, |
DataType | Value, | ||
ParameterDirection | Direction = ParameterDirection.Input , |
||
string | ParameterStarter = "@" |
||
) |
Constructor
ID | ID of the parameter |
Value | Value of the parameter |
Direction | Direction of the parameter |
ParameterStarter | Parameter starter |
Definition at line 42 of file Parameter.cs.
Utilities.ORM.Manager.QueryProvider.Default.Parameter< DataType >.Parameter | ( | string | ID, |
SqlDbType | Type, | ||
object | Value = null , |
||
ParameterDirection | Direction = ParameterDirection.Input , |
||
string | ParameterStarter = "@" |
||
) |
Constructor
ID | ID of the parameter |
Type | Database type |
Value | Value of the parameter |
Direction | Direction of the parameter |
ParameterStarter | Parameter starter |
Definition at line 55 of file Parameter.cs.
Utilities.ORM.Manager.QueryProvider.Default.Parameter< DataType >.Parameter | ( | string | ID, |
DbType | Type, | ||
object | Value = null , |
||
ParameterDirection | Direction = ParameterDirection.Input , |
||
string | ParameterStarter = "@" |
||
) |
Constructor
ID | ID of the parameter |
Type | Database type |
Value | Value of the parameter |
Direction | Direction of the parameter |
ParameterStarter | Parameter starter |
Definition at line 68 of file Parameter.cs.
|
virtual |
Adds this parameter to the SQLHelper
Helper | SQLHelper |
Implements Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< DataType >.
Definition at line 77 of file Parameter.cs.
|
virtual |
Creates a copy of the parameter
Suffix | Suffix to add to the parameter (for batching purposes) |
Implements Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< DataType >.
Definition at line 87 of file Parameter.cs.