C# Class CSMongo.Requests.QueryRequest

Creates a new QueryRequest for records
Inheritance: CollectionRequestBase
Mostrar archivo Open project: hugoware/CSMongo Class Usage Examples

Public Methods

Method Description
OnResponse ( Stream stream ) : ResponseBase

Reads the response stream for results

QueryRequest ( MongoCollection collection ) : System

Creates a new insert request for the provided database

QueryRequest ( string database, string collection ) : System

Creates a new insert request for the provided database

Protected Methods

Method Description
GenerateBody ( DynamicStream stream ) : void

Creates the body of the request to send

Method Details

GenerateBody() protected method

Creates the body of the request to send
protected GenerateBody ( DynamicStream stream ) : void
stream CSMongo.IO.DynamicStream
return void

OnResponse() public method

Reads the response stream for results
public OnResponse ( Stream stream ) : ResponseBase
stream Stream
return CSMongo.Responses.ResponseBase

QueryRequest() public method

Creates a new insert request for the provided database
public QueryRequest ( MongoCollection collection ) : System
collection MongoCollection
return System

QueryRequest() public method

Creates a new insert request for the provided database
public QueryRequest ( string database, string collection ) : System
database string
collection string
return System