TDADateTimePartExpression

Overview

Location

 

constructor Create (TDAWhereExpression, TDADateTimePart)  overload

constructor Create(anExpression: TDAWhereExpression; aPart: TDADateTimePart)

Parameters:

  • anExpression:
  • aPart:

DoValidate  protected    (declared in TDAWhereExpression)

Raised exception if aRaiseException is set

procedure DoValidate(aRaiseException: boolean; aName: string)

Parameters:

  • aRaiseException: specifies should the exception be raised or not.
  • aName: Name of property

Expression

property Expression: TDAWhereExpression read write

ParseException  protected    (declared in TDAWhereExpression)

Raises EDAWhereParseXmlException.

procedure ParseException(aName: string)

Parameters:

  • aName: property name.

ParseExpression (IXmlNode, string): TDAWhereExpression  protected overload    (declared in TDAWhereExpression)

Calls ParseException if xr is nil, otherwise calls overload ParseException.

function ParseExpression(xr: IXmlNode; aName: string): TDAWhereExpression

Parameters:

  • xr: source node.
  • aName: Name of property

ParseExpression (IXmlNode): TDAWhereExpression  overload    (declared in TDAWhereExpression)

Creates new Where expression from XML node.

class function ParseExpression(xr: IXmlNode): TDAWhereExpression

Parameters:

  • xr: given XML node.

Part

property Part: TDADateTimePart read write

ReadFromXml  override

procedure ReadFromXml(xr: IXmlNode)

Parameters:

  • xr:

Validate  override

procedure Validate

WriteToXml  override

procedure WriteToXml(sw: IXmlNode)

Parameters:

  • sw:

 

Expression

property Expression: TDAWhereExpression read write

Part

property Part: TDADateTimePart read write

 

ParseExpression (IXmlNode): TDAWhereExpression  overload    (declared in TDAWhereExpression)

Creates new Where expression from XML node.

class function ParseExpression(xr: IXmlNode): TDAWhereExpression

Parameters:

  • xr: given XML node.

 

constructor Create (TDAWhereExpression, TDADateTimePart)  overload

constructor Create(anExpression: TDAWhereExpression; aPart: TDADateTimePart)

Parameters:

  • anExpression:
  • aPart:

DoValidate  protected    (declared in TDAWhereExpression)

Raised exception if aRaiseException is set

procedure DoValidate(aRaiseException: boolean; aName: string)

Parameters:

  • aRaiseException: specifies should the exception be raised or not.
  • aName: Name of property

ParseException  protected    (declared in TDAWhereExpression)

Raises EDAWhereParseXmlException.

procedure ParseException(aName: string)

Parameters:

  • aName: property name.

ParseExpression (IXmlNode, string): TDAWhereExpression  protected overload    (declared in TDAWhereExpression)

Calls ParseException if xr is nil, otherwise calls overload ParseException.

function ParseExpression(xr: IXmlNode; aName: string): TDAWhereExpression

Parameters:

  • xr: source node.
  • aName: Name of property

ReadFromXml  override

procedure ReadFromXml(xr: IXmlNode)

Parameters:

  • xr:

Validate  override

procedure Validate

WriteToXml  override

procedure WriteToXml(sw: IXmlNode)

Parameters:

  • sw: