Table of Contents

Class JsonSelectResponse

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

Represents a respones from a select method

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

Constructors

JsonSelectResponse()

Initializes a new instance of the JsonSelectResponse class.

public JsonSelectResponse()

Properties

EntityObjectList

Gets or sets the items.

public JsonEntityObjectList EntityObjectList { get; set; }

Property Value

JsonEntityObjectList

The items.

Error

Gets or sets the error message.

public JsonErrorMessage Error { get; set; }

Property Value

JsonErrorMessage

The error message.

ServiceOperationInfo

Gets or sets the service operation info.

public JsonServiceOperationInfo ServiceOperationInfo { get; set; }

Property Value

JsonServiceOperationInfo

The service operation info.

Methods

Read(JsonReader, Model, Environment)

Reads an instance of EntityObject that is serialized in Json

public static JsonSelectResponse Read(JsonReader reader, Model model, Environment environment)

Parameters

reader JsonReader

The reader that is used to read the Json string.

model Model

The current DataContext model.

environment Environment

the Current DataContext Environment.

Returns

JsonSelectResponse

an instance of EntityObject

Write(JsonWriter, Model, JsonSelectResponse)

Writes the select response.

public static void Write(JsonWriter writer, Model model, JsonSelectResponse selectResponse)

Parameters

writer JsonWriter

The writer that writes json.

model Model

The model.

selectResponse JsonSelectResponse

The select response.