Abp.Domain.Uow.UnitOfWorkBase.BeginUow()

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 7

1. Example

Project: ABP
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();
        }

2. Example

Project: aspnetboilerplate
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();
        }