using System; namespace Quadarax.Foundation.Core.Data.Interface.Domain { public interface IUnitOfWork : IDisposable where TDomainContext : IDomain { TDomainContext Context { get; } void Commit(); IUnitOfWork As() where TCustomDomainContext : IDomain; } }