C# Class MongoDB.Driver.Builders.QueryBuilder

Inheritance: BuilderBase
ファイルを表示 Open project: Qiredev/mongo-csharp-driver Class Usage Examples

Protected Properties

Property Type Description
document BsonDocument

Public Methods

Method Description
ToBsonDocument ( ) : BsonDocument

Returns the result of the builder as a BsonDocument.

Protected Methods

Method Description
QueryBuilder ( BsonDocument document ) : System

Initializes a new instance of the QueryBuilder class.

Serialize ( BsonWriter bsonWriter, Type nominalType, IBsonSerializationOptions options ) : void

Serializes the result of the builder to a BsonWriter.

Method Details

QueryBuilder() protected method

Initializes a new instance of the QueryBuilder class.
protected QueryBuilder ( BsonDocument document ) : System
document BsonDocument A document representing the query.
return System

Serialize() protected method

Serializes the result of the builder to a BsonWriter.
protected Serialize ( BsonWriter bsonWriter, Type nominalType, IBsonSerializationOptions options ) : void
bsonWriter BsonWriter The writer.
nominalType System.Type The nominal type.
options IBsonSerializationOptions The serialization options.
return void

ToBsonDocument() public method

Returns the result of the builder as a BsonDocument.
public ToBsonDocument ( ) : BsonDocument
return BsonDocument

Property Details

document protected_oe property

protected BsonDocument document
return BsonDocument