C# Class ExoWeb.ServiceRequest.Query

Represents a query for a specific root type and one or more instances.
Inheritance: IJsonSerializable
Datei anzeigen Open project: vc3/ExoWeb

Private Properties

Property Type Description
IJsonSerializable object
IJsonSerializable void
LoadRoots void
Prepare void
PrepareStaticPath void
Query System
Query System
Query System
ReducePaths void

Public Methods

Method Description
ToString ( ) : string

Returns the string representation of the current query.

Private Methods

Method Description
IJsonSerializable ( JsonReader reader ) : object
IJsonSerializable ( JsonWriter writer ) : void
LoadRoots ( ModelTransaction transaction ) : void
Prepare ( ServiceResponse response ) : void

Prepares the query by parsing instance and static paths to determine what information is being requested by the query.

PrepareStaticPath ( string path, ServiceResponse response ) : void

Processes static property paths in order to determine the information to serialize.

Query ( ) : System
Query ( ModelType type, ModelInstance roots, bool inScope, bool isList, string paths ) : System

Used for streaming event results.

Query ( ModelType type, string ids, bool inScope, bool isList, string paths ) : System
ReducePaths ( ) : void

Removes out of scope paths before sending queries to the client.

Method Details

ToString() public method

Returns the string representation of the current query.
public ToString ( ) : string
return string