IRepository(T, TKey).Update Method (T)

MongoRepository

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: T
The updated entity.
See Also