Свойство | Type | Description | |
---|---|---|---|
FileFormat | FileFormat | ||
FilePath | string |
Méthode | Description | |
---|---|---|
Count ( ) : long | ||
Count ( IMongoQuery query ) : long | ||
Count ( IMongoQuery query, int skip, int first ) : long | ||
Distinct ( string key, IMongoQuery query ) : IEnumerable |
||
FindAndModifyAs ( |
||
FindAndRemoveAs ( |
||
FindAs ( |
||
Insert ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
Remove ( IMongoQuery query, RemoveFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
Save ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
Update ( IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult |
Méthode | Description | |
---|---|---|
CloneExternalDocument ( BsonDocument externalDocument ) : BsonDocument | ||
FileCollection ( string path, FileFormat format ) : System | ||
InsertInternal ( BsonDocument document ) : void | ||
NewResponse ( int documentsAffected, bool updatedExisting, string lastErrorMessage, string errorMessage ) : BsonDocument | ||
RemoveDocument ( BsonDocument document ) : void | ||
RemoveDocumentAt ( int index ) : void | ||
UpdateDocument ( BsonDocument document, UpdateCompiler>.Func |
Méthode | Description | |
---|---|---|
InsertNewDocument ( IMongoQuery query, IMongoUpdate update ) : BsonDocument | ||
QueryDocuments ( IMongoQuery query ) : IEnumerable |
||
Read ( bool newCollection ) : void | ||
ReadDocumentsAs ( |
||
Save ( string saveAs, FileFormat format ) : void |
protected static CloneExternalDocument ( BsonDocument externalDocument ) : BsonDocument | ||
externalDocument | BsonDocument | |
Résultat | BsonDocument |
public Count ( IMongoQuery query, int skip, int first ) : long | ||
query | IMongoQuery | |
skip | int | |
first | int | |
Résultat | long |
public Distinct ( string key, IMongoQuery query ) : IEnumerable |
||
key | string | |
query | IMongoQuery | |
Résultat | IEnumerable |
protected FileCollection ( string path, FileFormat format ) : System | ||
path | string | |
format | FileFormat | |
Résultat | System |
public FindAndModifyAs ( |
||
documentType | ||
query | IMongoQuery | |
sortBy | IMongoSortBy | |
update | IMongoUpdate | |
fields | IMongoFields | |
returnNew | bool | |
upsert | bool | |
result | UpdateResult | |
Résultat | object |
public FindAndRemoveAs ( |
||
documentType | ||
query | IMongoQuery | |
sortBy | IMongoSortBy | |
Résultat | object |
public FindAs ( |
||
documentType | ||
query | IMongoQuery | |
modes | QueryFlags | |
sortBy | IMongoSortBy | |
skip | int | |
first | int | |
fields | IMongoFields | |
Résultat | IEnumerable |
public Insert ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
document | BsonDocument | |
writeConcern | WriteConcern | |
needResult | bool | |
Résultat | MongoDB.Driver.WriteConcernResult |
protected abstract InsertInternal ( BsonDocument document ) : void | ||
document | BsonDocument | |
Résultat | void |
protected static NewResponse ( int documentsAffected, bool updatedExisting, string lastErrorMessage, string errorMessage ) : BsonDocument | ||
documentsAffected | int | |
updatedExisting | bool | |
lastErrorMessage | string | |
errorMessage | string | |
Résultat | BsonDocument |
public Remove ( IMongoQuery query, RemoveFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
query | IMongoQuery | |
flags | RemoveFlags | |
writeConcern | WriteConcern | |
needResult | bool | |
Résultat | MongoDB.Driver.WriteConcernResult |
protected abstract RemoveDocument ( BsonDocument document ) : void | ||
document | BsonDocument | |
Résultat | void |
protected abstract RemoveDocumentAt ( int index ) : void | ||
index | int | |
Résultat | void |
public Save ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
document | BsonDocument | |
writeConcern | WriteConcern | |
needResult | bool | |
Résultat | MongoDB.Driver.WriteConcernResult |
public Update ( IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
query | IMongoQuery | |
update | IMongoUpdate | |
flags | UpdateFlags | |
writeConcern | WriteConcern | |
needResult | bool | |
Résultat | MongoDB.Driver.WriteConcernResult |
protected abstract UpdateDocument ( BsonDocument document, UpdateCompiler>.Func |
||
document | BsonDocument | |
update | UpdateCompiler>.Func | |
Résultat | void |