namespace Mango.Nop.Data.Interfaces; public interface IMgDalBase //: IAcDalBase//: IDisposable { public string Name { get; } } public interface IMgDalBase : IMgDalBase where TDbContext : IMgDbContextBase { //public bool AutoCloseSession { get; set; } /// /// Do not use it! Use Session or Transaction... - J. /// public TDbContext Context { get; } public Mutex MutextLock { get; } //public TDbContext CreateDbContext(); //public void CloseDbContext(ref TDbContext? ctx); }