C# Class CSMongo.Requests.InsertRequest

Handles inserting content into a database
Inheritance: CollectionRequestBase
Show file Open project: hugoware/CSMongo

Public Methods

Method Description
InsertRequest ( MongoCollection collection ) : System

Creates an empty insert request

Protected Methods

Method Description
GenerateBody ( DynamicStream stream ) : void

Prepares the body of the request to send to the server

Method Details

GenerateBody() protected method

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

InsertRequest() public method

Creates an empty insert request
public InsertRequest ( MongoCollection collection ) : System
collection MongoCollection
return System