Ejemplo n.º 1
0
        protected BaseDbContext(DbContextOptions options) : base(options)
        {
            var aa = options;

            Option = ServiceLocator.Resolve <IOptions <DbContextOption> >().Value;
        }
Ejemplo n.º 2
0
 protected BaseDbContext(DbContextOption option)
 {
     Option = option ?? ServiceLocator.Resolve <IOptions <DbContextOption> >().Value;
 }