GenericRepository(TEntity).Save Method

Template MVC

GenericRepositoryTEntitySave Method

Save all the changes made to the context

Namespace:  Template.Repository.Core
Assembly:  Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual int Save()

Return Value

Type: Int32
The number of affected rows

Implements

IGenericRepositoryTEntitySave
See Also