Table of Contents

Class JsonSelectRequest

Namespace
TimeCockpit.Data.JsonConverters
Assembly
TimeCockpit.Data.dll

Represents a request that represents a query

public class JsonSelectRequest
Inheritance
Object
JsonSelectRequest
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

JsonSelectRequest()

public JsonSelectRequest()

Properties

Count

Gets or sets the count.

public int? Count { get; set; }

Property Value

Nullable<Int32>

The count.

Parameters

Gets or sets the parameters.

public IEnumerable<QueryParameter> Parameters { get; set; }

Property Value

IEnumerable<QueryParameter>

The parameters.

Query

Gets or sets the query.

public string Query { get; set; }

Property Value

String

The query.

Methods

Read(JsonReader, Model)

Reads the specified reader.

public static JsonSelectRequest Read(JsonReader reader, Model model)

Parameters

reader JsonReader

The reader.

model Model

The base model.

Returns

JsonSelectRequest

An instance of JsonSelectRequest.

Write(JsonWriter, Model, JsonSelectRequest)

Writes the json.

public static void Write(JsonWriter writer, Model model, JsonSelectRequest selectRequest)

Parameters

writer JsonWriter

The writer.

model Model

The base model.

selectRequest JsonSelectRequest

The result of a REST query.