protected override void GenerateBody(DynamicStream stream)
{
//default 'none' for the query options
stream.Append(BsonTranslator.AsInt32(0));
//apply the collection and database which should
//be the database.$target format
stream.Append(BsonTranslator.AsString(this.GetDatabaseTarget()));
//skip 0 and take 1 means to do a 'FindOne' command
//which actually executes our command as code
stream.Append(BsonTranslator.AsInt32(0));
stream.Append(BsonTranslator.AsInt32(1));
//insert the command value at the front of the request
stream.Append(this.Arguments.ToBsonByteArray());
}