C# 클래스 Mdbc.FileCollection

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

보호된 프로퍼티들

프로퍼티 타입 설명
FileFormat FileFormat
FilePath string

공개 메소드들

메소드 설명
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 ) : 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

보호된 메소드들

메소드 설명
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 update ) : void

비공개 메소드들

메소드 설명
InsertNewDocument ( IMongoQuery query, IMongoUpdate update ) : BsonDocument
QueryDocuments ( IMongoQuery query ) : IEnumerable
Read ( bool newCollection ) : void
ReadDocumentsAs ( Type documentType, string filePath, FileFormat format ) : IEnumerable
Save ( string saveAs, FileFormat format ) : void

메소드 상세

CloneExternalDocument() 보호된 정적인 메소드

protected static CloneExternalDocument ( BsonDocument externalDocument ) : BsonDocument
externalDocument BsonDocument
리턴 BsonDocument

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

FileCollection() 보호된 메소드

protected FileCollection ( string path, FileFormat format ) : System
path string
format FileFormat
리턴 System

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 System.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 System.Type
query IMongoQuery
modes QueryFlags
sortBy IMongoSortBy
skip int
first int
fields IMongoFields
리턴 IEnumerable

Insert() 공개 메소드

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

InsertInternal() 보호된 추상적인 메소드

protected abstract InsertInternal ( BsonDocument document ) : void
document BsonDocument
리턴 void

NewResponse() 보호된 정적인 메소드

protected static NewResponse ( int documentsAffected, bool updatedExisting, string lastErrorMessage, string errorMessage ) : BsonDocument
documentsAffected int
updatedExisting bool
lastErrorMessage string
errorMessage string
리턴 BsonDocument

Remove() 공개 메소드

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

RemoveDocument() 보호된 추상적인 메소드

protected abstract RemoveDocument ( BsonDocument document ) : void
document BsonDocument
리턴 void

RemoveDocumentAt() 보호된 추상적인 메소드

protected abstract RemoveDocumentAt ( int index ) : void
index int
리턴 void

Save() 공개 메소드

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

Update() 공개 메소드

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
리턴 MongoDB.Driver.WriteConcernResult

UpdateDocument() 보호된 추상적인 메소드

protected abstract UpdateDocument ( BsonDocument document, UpdateCompiler>.Func update ) : void
document BsonDocument
update UpdateCompiler>.Func
리턴 void

프로퍼티 상세

FileFormat 보호되어 있는 프로퍼티

protected FileFormat FileFormat
리턴 FileFormat

FilePath 보호되어 있는 프로퍼티

protected string FilePath
리턴 string