C# Class MongoDB.Driver.Builders.QueryBuilder

Inheritance: BuilderBase
Afficher le fichier Open project: Qiredev/mongo-csharp-driver Class Usage Examples

Protected Properties

Свойство Type Description
document BsonDocument

Méthodes publiques

Méthode Description
ToBsonDocument ( ) : BsonDocument

Returns the result of the builder as a BsonDocument.

Méthodes protégées

Méthode 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 méthode

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

Serialize() protected méthode

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.
Résultat void

ToBsonDocument() public méthode

Returns the result of the builder as a BsonDocument.
public ToBsonDocument ( ) : BsonDocument
Résultat BsonDocument

Property Details

document protected_oe property

protected BsonDocument document
Résultat BsonDocument