Symphony Framework
AddCaseInsensitive(String,WheredBConditions,String) Method
Example 
Symphony.dB Namespace > WheredB Class > AddCaseInsensitive Method : AddCaseInsensitive(String,WheredBConditions,String) Method
The name of the column/field to test against.
The condition to apply to the test.
The test value.
Add the base or first case inseneitive comparison test to the where clause prior to executing the selection of data from the database.
Syntax
public void AddCaseInsensitive( 
   string fieldName,
   WheredBConditions condition,
   string testValue
)

Parameters

fieldName
The name of the column/field to test against.
condition
The condition to apply to the test.
testValue
The test value.
Remarks
This method allows you to define the primary selection criteria. To assign additional selection criteria use the AddCaseInsensitive(WheredBConnectors,String,WheredBConditions,String) overload.
Example
Symphony.dB.DBAccess itemAccess = new DBAccess("ITEM", "DATABASE:DatabaseManager");
WheredB clause = new WheredB();
clause.AddCaseInsensitive("part_technical", WheredBConditions.Contains, "iso 23345");
clause.AddCaseInsensitive(WheredBConnectors.ConnectAnd, "part_description", WheredBConditions.Contains, "gOlD");
foreach (string item in itemAccess.Select(clause))
{

}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WheredB Class
WheredB Members
Overload List