protected BaseDbContext(DbContextOptions options) : base(options) { var aa = options; Option = ServiceLocator.Resolve <IOptions <DbContextOption> >().Value; }
protected BaseDbContext(DbContextOption option) { Option = option ?? ServiceLocator.Resolve <IOptions <DbContextOption> >().Value; }