MongoRepository documentation
IRepositoryT, TKeyUpdate Method (T) |
Upserts an entity.
Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
T Update( T entity )
Function Update ( entity As T ) As T
T Update( T entity )
abstract Update : entity : 'T -> 'T
Parameters
- entity
- Type: T
The entity.
Return Value
Type: TThe updated entity.
See Also