C# 클래스 Mdbc.MongoCollectionHost

상속: ICollectionHost
파일 보기 프로젝트 열기: nightroman/Mdbc

공개 메소드들

메소드 설명
Count ( ) : long
Count ( IMongoQuery query ) : long
Count ( IMongoQuery query, int skip, int first ) : long
Distinct ( string key, IMongoQuery query ) : IEnumerable
FindAndModifyAs ( Type documentType, IMongoQuery query, IMongoSortBy sortBy, IMongoUpdate update, IMongoFields fields, bool returnNew, bool upsert, UpdateResult &result ) : object
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

메소드 상세

Count() 공개 메소드

public Count ( ) : long
리턴 long

Count() 공개 메소드

public Count ( IMongoQuery query ) : long
query IMongoQuery
리턴 long

Count() 공개 메소드

public Count ( IMongoQuery query, int skip, int first ) : long
query IMongoQuery
skip int
first int
리턴 long

Distinct() 공개 메소드

public Distinct ( string key, IMongoQuery query ) : IEnumerable
key string
query IMongoQuery
리턴 IEnumerable

FindAndModifyAs() 공개 메소드

public FindAndModifyAs ( Type documentType, IMongoQuery query, IMongoSortBy sortBy, IMongoUpdate update, IMongoFields fields, bool returnNew, bool upsert, UpdateResult &result ) : object
documentType System.Type
query IMongoQuery
sortBy IMongoSortBy
update IMongoUpdate
fields IMongoFields
returnNew bool
upsert bool
result UpdateResult
리턴 object

FindAndRemoveAs() 공개 메소드

public FindAndRemoveAs ( Type documentType, IMongoQuery query, IMongoSortBy sortBy ) : object
documentType Type
query IMongoQuery
sortBy IMongoSortBy
리턴 object

FindAs() 공개 메소드

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

Insert() 공개 메소드

public Insert ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : WriteConcernResult
document BsonDocument
writeConcern WriteConcern
needResult bool
리턴 WriteConcernResult

MongoCollectionHost() 공개 메소드

public MongoCollectionHost ( MongoCollection collection ) : System
collection MongoCollection
리턴 System

Remove() 공개 메소드

public Remove ( IMongoQuery query, RemoveFlags flags, WriteConcern writeConcern, bool needResult ) : WriteConcernResult
query IMongoQuery
flags RemoveFlags
writeConcern WriteConcern
needResult bool
리턴 WriteConcernResult

Save() 공개 메소드

public Save ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : WriteConcernResult
document BsonDocument
writeConcern WriteConcern
needResult bool
리턴 WriteConcernResult

Update() 공개 메소드

public Update ( IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern, bool needResult ) : WriteConcernResult
query IMongoQuery
update IMongoUpdate
flags UpdateFlags
writeConcern WriteConcern
needResult bool
리턴 WriteConcernResult