Symphony Framework
WheredB Constructor()
Symphony.dB Namespace > WheredB Class > WheredB Constructor : WheredB Constructor()
Creates an instance of the WheredB class to provide selection criteria to a DBAccess.Select method call.
public WheredB()
Perform selection of the data using a where clause. All columns within each row are returned.
Symphony.dB.DBAccess itemAccess = new DBAccess("ITEM", "DATABASE:DatabaseManager");
WheredB clause = new WheredB();
clause.Add("part_description", WheredBConditions.Contains, "GOLD");
foreach (string item in itemAccess.Select(clause))

Perform selection processing with a where clause and only returning selected columns.
Symphony.dB.DBAccess PartAccess = new DBAccess("PART", "DATABASE:DatabaseManager");
WheredB fieldClause = new WheredB();
fieldClause.Add("part_description", WheredBConditions.Contains, "GOLD");
foreach (string part in PartAccess.Select("part_code, part_description", fieldClause))


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


WheredB Class
WheredB Members
Overload List