Метод | Описание | |
---|---|---|
Count ( ) : long | ||
Count ( IMongoQuery query ) : long | ||
Count ( IMongoQuery query, int skip, int first ) : long | ||
Distinct ( string key, IMongoQuery query ) : IEnumerable |
||
FindAndModifyAs ( |
||
FindAndRemoveAs ( Type documentType, IMongoQuery query, IMongoSortBy sortBy ) : object | ||
FindAs ( Type documentType, IMongoQuery query, QueryFlags modes, IMongoSortBy sortBy, int skip, int first, IMongoFields fields ) : IEnumerable | ||
Insert ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : WriteConcernResult | ||
MongoCollectionHost ( MongoCollection collection ) : System | ||
Remove ( IMongoQuery query, RemoveFlags flags, WriteConcern writeConcern, bool needResult ) : WriteConcernResult | ||
Save ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : WriteConcernResult | ||
Update ( IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern, bool needResult ) : WriteConcernResult |
public Count ( IMongoQuery query, int skip, int first ) : long | ||
query | IMongoQuery | |
skip | int | |
first | int | |
Результат | long |
public Distinct ( string key, IMongoQuery query ) : IEnumerable |
||
key | string | |
query | IMongoQuery | |
Результат | IEnumerable |
public FindAndModifyAs ( |
||
documentType | ||
query | IMongoQuery | |
sortBy | IMongoSortBy | |
update | IMongoUpdate | |
fields | IMongoFields | |
returnNew | bool | |
upsert | bool | |
result | UpdateResult | |
Результат | object |
public FindAndRemoveAs ( Type documentType, IMongoQuery query, IMongoSortBy sortBy ) : object | ||
documentType | Type | |
query | IMongoQuery | |
sortBy | IMongoSortBy | |
Результат | object |
public FindAs ( Type documentType, IMongoQuery query, QueryFlags modes, IMongoSortBy sortBy, int skip, int first, IMongoFields fields ) : IEnumerable | ||
documentType | Type | |
query | IMongoQuery | |
modes | QueryFlags | |
sortBy | IMongoSortBy | |
skip | int | |
first | int | |
fields | IMongoFields | |
Результат | IEnumerable |
public Insert ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : WriteConcernResult | ||
document | BsonDocument | |
writeConcern | WriteConcern | |
needResult | bool | |
Результат | WriteConcernResult |
public MongoCollectionHost ( MongoCollection collection ) : System | ||
collection | MongoCollection | |
Результат | System |
public Remove ( IMongoQuery query, RemoveFlags flags, WriteConcern writeConcern, bool needResult ) : WriteConcernResult | ||
query | IMongoQuery | |
flags | RemoveFlags | |
writeConcern | WriteConcern | |
needResult | bool | |
Результат | WriteConcernResult |
public Save ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : WriteConcernResult | ||
document | BsonDocument | |
writeConcern | WriteConcern | |
needResult | bool | |
Результат | WriteConcernResult |
public Update ( IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern, bool needResult ) : WriteConcernResult | ||
query | IMongoQuery | |
update | IMongoUpdate | |
flags | UpdateFlags | |
writeConcern | WriteConcern | |
needResult | bool | |
Результат | WriteConcernResult |