Метод | Описание | |
---|---|---|
Delete ( String key ) : void |
Deletes document with specified key. If document with such key doesn't exists - no changes to collection will be made.
|
|
DropAndPrepare ( ) : void | ||
GetById ( IEnumerable |
||
GetById ( String key ) : Object |
Returns document by it's key. If document doesn't exists - default(TDocument) will be returned.
|
|
MongodbCollection ( MongodbDatabase database, |
||
Replace ( String key, object document ) : bool | ||
Save ( String key, Object document ) : bool |
Saves document to collection using specified key. If document with such key already exists, it will be silently overwritten.
|
|
Save ( object obj ) : bool | ||
Save ( IEnumerable |
public GetById ( IEnumerable |
||
keys | IEnumerable |
|
Результат | IEnumerable |
public MongodbCollection ( MongodbDatabase database, |
||
database | MongodbDatabase | |
documentType | ||
collectionName | String | |
Результат | System |
public Replace ( String key, object document ) : bool | ||
key | String | |
document | object | |
Результат | bool |
public Save ( String key, Object document ) : bool | ||
key | String | |
document | Object | |
Результат | bool |