UnitOfWork.Commit Method

Template MVC

UnitOfWorkCommit Method

Save changes across all the repositories in one transaction

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

Return Value

Type: Int32
The number of affected rows

Implements

IUnitOfWorkCommit
See Also