Property | Type | Description | |
---|---|---|---|
_From | string | ||
_IsDirty | bool | ||
_PrimaryKey | string | ||
_Select | string | ||
_TableName | string | ||
_orderByClause | IOrderByClause | ||
_sqlFieldMap | Lazy |
||
_updateData | SqlValue>>.Lazy | ||
_whereClause | IWhereClause | ||
groupBy | string | ||
having | string | ||
top | int |
Property | Type | Description | |
---|---|---|---|
ISqlQuery | ISqlQuery |
Method | Description | |
---|---|---|
AddFieldMap ( string>.IEnumerable |
Add a range of key/value pairs to map field names to SQL server column names
|
|
AddFieldMap ( string fieldName, string value ) : void |
Map a field name to an alternate representation to be passed to the SQL Server
|
|
AddParameter ( IDataParameter parameter ) : void | ||
AddParameter ( IEnumerable |
||
AddUpdateData ( string fieldName, object value ) : ISqlQuery | ||
Clean ( ) : void |
Marks this object as unchanged (IsDirty=false)
|
|
Clear ( ) : void |
Clears all criteria. This does not clear the field map.
|
|
ClearFieldMap ( ) : void |
Clear all current aliases in the field map
|
|
Clone ( ) : ISqlQueryMaker | ||
Clone ( QueryType type ) : ISqlQueryMaker | ||
Equals ( object obj ) : bool | ||
ExpectType ( QueryType type ) : void | ||
GetFieldMap ( string name ) : string |
Returns the mapped value for a field alias
|
|
GetHashCode ( ) : int | ||
GetNewParameterName ( string basedOn = "" ) : string | ||
GetQuery ( ) : string | ||
GetQuery ( SqlClause clause ) : string |
Return the SQL for this query
|
|
SqlAuditString ( ) : string | ||
SqlQueryMaker ( ) : System | ||
SqlQueryMaker ( QueryType queryType ) : System | ||
ToString ( ) : string | ||
Touch ( ) : void |
Mark the object as dirty
|
Method | Description | |
---|---|---|
CloneImpl ( ) : |
Returns a deep copy of this object
|
|
Initialize ( QueryType queryType ) : void | ||
RequireClauses ( SqlClause clause ) : void |
Method | Description | |
---|---|---|
ISqlQuery ( ) : ISqlQuery |
public AddFieldMap ( string>.IEnumerable |
||
map | string>.IEnumerable | |
return | void |
public AddFieldMap ( string fieldName, string value ) : void | ||
fieldName | string | |
value | string | |
return | void |
public AddParameter ( IDataParameter parameter ) : void | ||
parameter | IDataParameter | |
return | void |
public AddParameter ( IEnumerable |
||
parameter | IEnumerable |
|
return | void |
public AddUpdateData ( string fieldName, object value ) : ISqlQuery | ||
fieldName | string | |
value | object | |
return | ISqlQuery |
public Clone ( QueryType type ) : ISqlQueryMaker | ||
type | QueryType | |
return | ISqlQueryMaker |
public GetNewParameterName ( string basedOn = "" ) : string | ||
basedOn | string | |
return | string |
public GetQuery ( SqlClause clause ) : string | ||
clause | SqlClause | |
return | string |
protected Initialize ( QueryType queryType ) : void | ||
queryType | QueryType | |
return | void |
protected RequireClauses ( SqlClause clause ) : void | ||
clause | SqlClause | |
return | void |
public SqlQueryMaker ( QueryType queryType ) : System | ||
queryType | QueryType | |
return | System |