Exemplo n.º 1
0
 protected override void WriteBody (ISonWriter writer){
     writer.WriteValue(BsonDataType.Integer,0);
     writer.WriteString(this.FullCollectionName);
     writer.WriteValue(BsonDataType.Integer,this.Flags);
     writer.Write(Selector);
     writer.Write(Document);
 }
Exemplo n.º 2
0
 protected override void WriteBody (ISonWriter writer){
     writer.WriteValue(BsonDataType.Integer,(int)this.Options);
     writer.WriteString(this.FullCollectionName);
     writer.WriteValue(BsonDataType.Integer,(int)this.NumberToSkip);
     writer.WriteValue(BsonDataType.Integer,(int)this.NumberToReturn);
     writer.Write(this.Query);
     if(this.ReturnFieldSelector != null){
         writer.Write(this.ReturnFieldSelector);
     }
 }
Exemplo n.º 3
0
 protected override void WriteBody (ISonWriter writer){
     writer.WriteString(this.Message);            
 }
Exemplo n.º 4
0
 protected override void WriteBody (ISonWriter writer){
     writer.WriteValue(BsonDataType.Integer,0);
     writer.WriteString(this.FullCollectionName);
     writer.WriteValue(BsonDataType.Integer,this.NumberToReturn);
     writer.WriteValue(BsonDataType.Long,this.CursorID);
 }