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()

 

init()

 

Sub New()

GetAttributeCount    (declared in ComplexType)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

func GetAttributeCount() -> Int32

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ComplexType)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

func GetAttributeName(_ index: Int32) -> String

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ComplexType)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

func GetAttributeValue(_ index: Int32) -> String

 

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; }

 

var IncludeSchema: Boolean { 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; }

 

var MaxRecords: Int32 { get{} set{} }

 

Property MaxRecords() As Int32

Parameters

List of parameters for this request.

 

property Parameters: array of SimpleDataParameter read write;

 

SimpleDataParameter[] Parameters { get; set; }

 

var Parameters: SimpleDataParameter... { get{} set{} }

 

Property Parameters() As SimpleDataParameter()

PropertyChanged    (declared in ComplexType)

 

event PropertyChanged: PropertyChangedEventHandler

 

delegate PropertyChangedEventHandler PropertyChanged()

 

__event PropertyChangedEventHandler: PropertyChanged!

 

Event PropertyChanged As PropertyChangedEventHandler

ReadComplex (Serializer)

 

method ReadComplex(aSerializer: Serializer)

 

void ReadComplex(Serializer aSerializer)

 

func ReadComplex(_ aSerializer: Serializer)

 

Sub ReadComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

ReadComplex (Serializer)    (declared in ComplexType)

 

method ReadComplex(serializer: Serializer)

 

void ReadComplex(Serializer serializer)

 

func 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; }

 

var SimpleMode: Boolean { 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; }

 

var SQL: String { get{} set{} }

 

Property SQL() As String

Table

Table to request.

 

property Table: String read write;

 

String Table { get; set; }

 

var Table: String { get{} set{} }

 

Property Table() As String

TriggerPropertyChanged  protected    (declared in ComplexType)

 

method TriggerPropertyChanged(propertyName: String)

 

void TriggerPropertyChanged(String propertyName)

 

func TriggerPropertyChanged(_ propertyName: String)

 

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; }

 

var Where: String { get{} set{} }

 

Property Where() As String

WriteComplex (Serializer)

 

method WriteComplex(aSerializer: Serializer)

 

void WriteComplex(Serializer aSerializer)

 

func WriteComplex(_ aSerializer: Serializer)

 

Sub WriteComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

WriteComplex (Serializer)    (declared in ComplexType)

 

method WriteComplex(serializer: Serializer)

 

void WriteComplex(Serializer serializer)

 

func 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; }

 

var IncludeSchema: Boolean { 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; }

 

var MaxRecords: Int32 { get{} set{} }

 

Property MaxRecords() As Int32

Parameters

List of parameters for this request.

 

property Parameters: array of SimpleDataParameter read write;

 

SimpleDataParameter[] Parameters { get; set; }

 

var Parameters: SimpleDataParameter... { 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; }

 

var SimpleMode: Boolean { 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; }

 

var SQL: String { get{} set{} }

 

Property SQL() As String

Table

Table to request.

 

property Table: String read write;

 

String Table { get; set; }

 

var Table: String { 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; }

 

var Where: String { get{} set{} }

 

Property Where() As String

 

constructor

 

constructor

 

SimpleRequestInfo()

 

init()

 

Sub New()

GetAttributeCount    (declared in ComplexType)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

func GetAttributeCount() -> Int32

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ComplexType)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

func GetAttributeName(_ index: Int32) -> String

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ComplexType)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

func GetAttributeValue(_ index: Int32) -> String

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

ReadComplex (Serializer)

 

method ReadComplex(aSerializer: Serializer)

 

void ReadComplex(Serializer aSerializer)

 

func ReadComplex(_ aSerializer: Serializer)

 

Sub ReadComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

ReadComplex (Serializer)    (declared in ComplexType)

 

method ReadComplex(serializer: Serializer)

 

void ReadComplex(Serializer serializer)

 

func ReadComplex(_ serializer: Serializer)

 

Sub ReadComplex(serializer As Serializer)

Parameters:

  • serializer:

TriggerPropertyChanged  protected    (declared in ComplexType)

 

method TriggerPropertyChanged(propertyName: String)

 

void TriggerPropertyChanged(String propertyName)

 

func TriggerPropertyChanged(_ propertyName: String)

 

Sub TriggerPropertyChanged(propertyName As String)

Parameters:

  • propertyName:

WriteComplex (Serializer)

 

method WriteComplex(aSerializer: Serializer)

 

void WriteComplex(Serializer aSerializer)

 

func WriteComplex(_ aSerializer: Serializer)

 

Sub WriteComplex(aSerializer As Serializer)

Parameters:

  • aSerializer:

WriteComplex (Serializer)    (declared in ComplexType)

 

method WriteComplex(serializer: Serializer)

 

void WriteComplex(Serializer serializer)

 

func WriteComplex(_ serializer: Serializer)

 

Sub WriteComplex(serializer As Serializer)

Parameters:

  • serializer:

 

PropertyChanged    (declared in ComplexType)

 

event PropertyChanged: PropertyChangedEventHandler

 

delegate PropertyChangedEventHandler PropertyChanged()

 

__event PropertyChangedEventHandler: PropertyChanged!

 

Event PropertyChanged As PropertyChangedEventHandler

 

  • SimpleRequestInfo Class: