|DataScopeCommitChanges Method (FuncIUnitOfWorkCore, Boolean)|
Commits the changes tracked by this scope using the passed in commit func. Use this method to commit the changes using logic outside
this scope, e.g. a service or another tier, to which the unit of work object passed into the commitUnitOfWork func is transported.
To commit the changes directly using a transaction provider by a transaction controller (Adapter: a DataAccessAdapter, SelfServicing: a
Transaction object), please use the CommitChanges overload which accepts a transaction controller.
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 220.127.116.11 (5.3.0)
public bool CommitChanges(
Func<IUnitOfWorkCore, bool> commitUnitOfWorkFunc
Public Function CommitChanges (
commitUnitOfWorkFunc As Func(Of IUnitOfWorkCore, Boolean)
) As Boolean
- Type: SystemFuncIUnitOfWorkCore, Boolean
The func which is called to commit the work in the Unit of work which is passed into the func by
the result returned by commitUnitOfWorkFunc after it gets called with the Unit of Work to commit