Here are the examples of the csharp api class Abp.Domain.Uow.UnitOfWorkBase.BeginUow() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
Project: ABP
Source File: UnitOfWorkBase.cs
Source File: UnitOfWorkBase.cs
public void Begin(UnitOfWorkOptions options) { if (options == null) { throw new ArgumentNullException("options"); } PreventMultipleBegin(); Options = options; //TODO: Do not set options like that! SetFilters(options.FilterOverrides); BeginUow(); }
0
2. Example
Project: aspnetboilerplate
Source File: UnitOfWorkBase.cs
Source File: UnitOfWorkBase.cs
public void Begin(UnitOfWorkOptions options) { Check.NotNull(options, nameof(options)); PreventMultipleBegin(); Options = options; //TODO: Do not set options like that, instead make a copy? SetFilters(options.FilterOverrides); SetTenantId(AbpSession.TenantId, false); BeginUow(); }