Class JsonSelectRequest
Represents a request that represents a query
Inheritance
System.Object
JsonSelectRequest
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.JsonConverters
Assembly: TimeCockpit.Data.dll
Syntax
public class JsonSelectRequest
Constructors
JsonSelectRequest()
Declaration
public JsonSelectRequest()
Properties
Count
Gets or sets the count.
Declaration
public int? Count { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The count. |
Parameters
Gets or sets the parameters.
Declaration
public IEnumerable<QueryParameter> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<QueryParameter> | The parameters. |
Query
Gets or sets the query.
Declaration
public string Query { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The query. |
Methods
Read(JsonReader, Model)
Reads the specified reader.
Declaration
public static JsonSelectRequest Read(JsonReader reader, Model model)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonReader | reader | The reader. |
| Model | model | The base model. |
Returns
| Type | Description |
|---|---|
| JsonSelectRequest | An instance of JsonSelectRequest. |
Write(JsonWriter, Model, JsonSelectRequest)
Writes the json.
Declaration
public static void Write(JsonWriter writer, Model model, JsonSelectRequest selectRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonWriter | writer | The writer. |
| Model | model | The base model. |
| JsonSelectRequest | selectRequest | The result of a REST query. |