SimpleRequestInfo

Overview

SimpleRequestInfo is used for requests to a DataAbstract server with the SimpleGetData call as an alternative to the GetData call. The simple version is callable from xml-rpc and json servers and doesn't require specialized serializers.

Location


 

constructor

 

constructor

 

SimpleRequestInfo()

 

Sub New()

GetAttributeCount    (declared in ComplexType)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ComplexType)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ComplexType)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

IncludeSchema

When returning the data, include the field information.

 

property IncludeSchema: Boolean read write;

 

Boolean IncludeSchema { get; set; }

 

Property IncludeSchema() As Boolean

MaxRecords

Maximum number of records to return. <1 is infinite.

 

property MaxRecords: Int32 read write;

 

Int32 MaxRecords { get; set; }

 

Property MaxRecords() As Int32

Parameters

List of parameters for this request.

 

property Parameters: array of SimpleDataParameter read write;

 

SimpleDataParameter[] Parameters { get; set; }

 

Property Parameters() As SimpleDataParameter()

PropertyChanged    (declared in ComplexType)

 

event PropertyChanged: PropertyChangedEventHandler;

 

delegate PropertyChangedEventHandler PropertyChanged()

 

Event PropertyChanged As PropertyChangedEventHandler

ReadComplex (Serializer)

 

method ReadComplex(aSerializer: Serializer)

 

void ReadComplex(Serializer aSerializer)

 

Sub ReadComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

ReadComplex (Serializer)    (declared in ComplexType)

 

method ReadComplex(serializer: Serializer)

 

void ReadComplex(Serializer serializer)

 

Sub ReadComplex(serializer As Serializer)

Parameters:

  • serializer:

SimpleMode

If this is true, the response won't use the SimpleDataResult classes but will be a structure with field names matching the table field names.

 

property SimpleMode: Boolean read write;

 

Boolean SimpleMode { get; set; }

 

Property SimpleMode() As Boolean

SQL

SQL query to execute. When this is set the table name is ignored, the string here is passed to the DASQL processor, not directly to the server.

 

property SQL: String read write;

 

String SQL { get; set; }

 

Property SQL() As String

Table

Table to request.

 

property Table: String read write;

 

String Table { get; set; }

 

Property Table() As String

TriggerPropertyChanged  protected    (declared in ComplexType)

 

method TriggerPropertyChanged(propertyName: String)

 

void TriggerPropertyChanged(String propertyName)

 

Sub TriggerPropertyChanged(propertyName As String)

Parameters:

  • propertyName:

Where

Where condition to use. This should be formatted along the lines of sql where expressions.

 

property Where: String read write;

 

String Where { get; set; }

 

Property Where() As String

WriteComplex (Serializer)

 

method WriteComplex(aSerializer: Serializer)

 

void WriteComplex(Serializer aSerializer)

 

Sub WriteComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

WriteComplex (Serializer)    (declared in ComplexType)

 

method WriteComplex(serializer: Serializer)

 

void WriteComplex(Serializer serializer)

 

Sub WriteComplex(serializer As Serializer)

Parameters:

  • serializer:

 

IncludeSchema

When returning the data, include the field information.

 

property IncludeSchema: Boolean read write;

 

Boolean IncludeSchema { get; set; }

 

Property IncludeSchema() As Boolean

MaxRecords

Maximum number of records to return. <1 is infinite.

 

property MaxRecords: Int32 read write;

 

Int32 MaxRecords { get; set; }

 

Property MaxRecords() As Int32

Parameters

List of parameters for this request.

 

property Parameters: array of SimpleDataParameter read write;

 

SimpleDataParameter[] Parameters { get; set; }

 

Property Parameters() As SimpleDataParameter()

SimpleMode

If this is true, the response won't use the SimpleDataResult classes but will be a structure with field names matching the table field names.

 

property SimpleMode: Boolean read write;

 

Boolean SimpleMode { get; set; }

 

Property SimpleMode() As Boolean

SQL

SQL query to execute. When this is set the table name is ignored, the string here is passed to the DASQL processor, not directly to the server.

 

property SQL: String read write;

 

String SQL { get; set; }

 

Property SQL() As String

Table

Table to request.

 

property Table: String read write;

 

String Table { get; set; }

 

Property Table() As String

Where

Where condition to use. This should be formatted along the lines of sql where expressions.

 

property Where: String read write;

 

String Where { get; set; }

 

Property Where() As String

 

constructor

 

constructor

 

SimpleRequestInfo()

 

Sub New()

GetAttributeCount    (declared in ComplexType)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ComplexType)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ComplexType)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

ReadComplex (Serializer)

 

method ReadComplex(aSerializer: Serializer)

 

void ReadComplex(Serializer aSerializer)

 

Sub ReadComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

ReadComplex (Serializer)    (declared in ComplexType)

 

method ReadComplex(serializer: Serializer)

 

void ReadComplex(Serializer serializer)

 

Sub ReadComplex(serializer As Serializer)

Parameters:

  • serializer:

TriggerPropertyChanged  protected    (declared in ComplexType)

 

method TriggerPropertyChanged(propertyName: String)

 

void TriggerPropertyChanged(String propertyName)

 

Sub TriggerPropertyChanged(propertyName As String)

Parameters:

  • propertyName:

WriteComplex (Serializer)

 

method WriteComplex(aSerializer: Serializer)

 

void WriteComplex(Serializer aSerializer)

 

Sub WriteComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

WriteComplex (Serializer)    (declared in ComplexType)

 

method WriteComplex(serializer: Serializer)

 

void WriteComplex(Serializer serializer)

 

Sub WriteComplex(serializer As Serializer)

Parameters:

  • serializer:

 

PropertyChanged    (declared in ComplexType)

 

event PropertyChanged: PropertyChangedEventHandler;

 

delegate PropertyChangedEventHandler PropertyChanged()

 

Event PropertyChanged As PropertyChangedEventHandler

 

  • SimpleRequestInfo Class: