RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbLookup.QueryBuilder Namespace
RingSoft.DbMaintenance Namespace

SelectQuery..::..AddWhereItem Method (String, Conditions, String, Boolean, ValueTypes)

Creates a where item object and adds it to the WhereItems list.

Namespace:  RingSoft.DbLookup.QueryBuilder
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public WhereItem AddWhereItem(
	string fieldName,
	Conditions condition,
	string value,
	bool isMemo,
	ValueTypes valueType
)
Public Function AddWhereItem ( _
	fieldName As String, _
	condition As Conditions, _
	value As String, _
	isMemo As Boolean, _
	valueType As ValueTypes _
) As WhereItem
public:
WhereItem^ AddWhereItem(
	String^ fieldName, 
	Conditions^ condition, 
	String^ value, 
	bool^ isMemo, 
	ValueTypes^ valueType
)

Parameters

fieldName
Type: String
Name of the field.
condition
Type: RingSoft.DbLookup.QueryBuilder..::..Conditions
The condition.
value
Type: String
The string value.
isMemo
Type: Boolean
if set to true [is memo/ntext].
valueType
Type: RingSoft.DbLookup.QueryBuilder..::..ValueTypes
Type of the value.

Return Value

The where item object that was created for further configuration.