Updates entity in the database.
Namespace: LiteRepositoryAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic virtual int Update<E>(
E entity
)
where E : class
Parameters
- entity
- Type: E
Entity to update in database.
Type Parameters
- E
- Type of the entity.
Return Value
Type:
Int32Count of a effected enities.
See Also