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); }
protected override void WriteBody (ISonWriter writer){ writer.WriteValue(BsonDataType.Integer,0); writer.WriteValue(BsonDataType.Integer, this.CursorIDs.Length); foreach(long id in this.CursorIDs){ writer.WriteValue(BsonDataType.Long, id); } }
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); } }
protected override void WriteBody (ISonWriter writer){ writer.WriteString(this.Message); }
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); }
protected abstract void WriteBody(ISonWriter writer);