Craig's Utility Library
4.0 Beta
|
Parameter class handling strings, checking for inequality More...
Public Member Functions | |
StringNotEqualParameter (string Value, string ID, int Length, string FieldName="", string ParameterStarter="@") | |
Constructor More... | |
override void | AddParameter (DbCommand Helper) |
Adds the parameter to the SQLHelper More... | |
override IParameter | CreateCopy (string Suffix) |
Creates a copy of the parameter More... | |
override string | ToString () |
Outputs the param as a string More... | |
Public Member Functions inherited from Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< string > | |
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... | |
Properties | |
string | FieldName [get, set] |
Field name More... | |
int | Length [get, set] |
Max length of the string More... | |
Properties inherited from Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< string > | |
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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< string > | |
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< string > | |
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... | |
Parameter class handling strings, checking for inequality
Definition at line 31 of file StringNotEqualParameter.cs.
Utilities.ORM.Parameters.StringNotEqualParameter.StringNotEqualParameter | ( | string | Value, |
string | ID, | ||
int | Length, | ||
string | FieldName = "" , |
||
string | ParameterStarter = "@" |
||
) |
Constructor
Value | Value of the parameter |
ID | Name of the parameter |
ParameterStarter | What the database expects as the parameter starting string ("@" for SQL Server, ":" for Oracle, etc.) |
Length | Max length allowed for the string |
FieldName | Field name |
Definition at line 44 of file StringNotEqualParameter.cs.
|
virtual |
Adds the parameter to the SQLHelper
Helper | SQLHelper to add the parameter to |
Implements Utilities.ORM.Manager.QueryProvider.BaseClasses.ParameterBase< string >.
Definition at line 65 of file StringNotEqualParameter.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< string >.
Definition at line 75 of file StringNotEqualParameter.cs.
override string Utilities.ORM.Parameters.StringNotEqualParameter.ToString | ( | ) |
Outputs the param as a string
Definition at line 84 of file StringNotEqualParameter.cs.
|
getset |
Field name
Definition at line 54 of file StringNotEqualParameter.cs.
|
getset |
Max length of the string
Definition at line 59 of file StringNotEqualParameter.cs.