ConstantExpression Class
From RemObjects Wiki
This is a Data Abstract for .NET Library topic
Please do not modify the page structure, but feel free to modify/add text.
Contents |
Overview
Represents constant values to be used in WhereExpressions.
For example, the following WHERE statement
SELECT * FROM Employees WHERE (Position = 'Sales Manager')
using ConstantExpression would look like this:
WhereExpression lResult; lResult = new BinaryExpression( new FieldExpression("Position"), new ConstantExpression("Sales Manager", DataType.String), BinaryOperator.Equal),
Location
- Assembly: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract.Expressions
- ParameterExpression
- ConstantExpression
Properties
| Kind |
|---|
|
This property is inherited from WhereExpression and gets the expression type. For ConstantExpression, The type is always a WhereKind Constant.
|
| Value |
|
Gets or sets the constant value itself.
|
Class Methods
| DeserializeObject |
|---|
|
Gets the object of the given WhereExpression from the serialized string.
|
| SerializeObject |
|
Writes the object of the given type to the string.
|
Instance Methods
| constructor () |
|---|
|
Default constructor.
|
| constructor (Object) |
|
|
| constructor (Object, DataType) |
|
|
| ReadFromXml |
|
Reads expressions from the XML.
|
| ToSQLString |
|
|
| WriteToXml |
|
Generates an XML node from the current expression object.
|
See Also
- Lists
- Data Abstract for .NET: Namespaces – Interfaces – Classes – Enums
- RemObjects SDK for .NET: Namespaces – Interfaces – Classes – Enums
- Data Abstract shared: Data Types – File Types
- other editions
- Data Abstract for Delphi: Interfaces – Classes – Enums
- Data Abstract for Xcode: Protocols – Classes – Enums
- Data Abstract for .NET: Namespaces – Interfaces – Classes – Enums
Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode
Glossary — Architecture — Articles — Features — Library — Samples