IUnitOfWork.Commit Method

Template MVC

IUnitOfWorkCommit Method

Save changes across all the repositories in one transaction

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

Return Value

Type: Int32
The number of affected rows
See Also