コード例 #1
0
        public ContextoParticular(DbContextOptions <ContextoParticular> options, IOptions <AppSettingsBD> appSettings) : base(options)
        {
            _settingsBD = appSettings.Value;

            /*var ser = new ServiceCollection();
             * ser.AddEntityFrameworkNpgsql();*/
        }
コード例 #2
0
 public ContextoGeneral(DbContextOptions <ContextoGeneral> options, IOptions <AppSettingsBD> appSettings) : base(options)
 {
     _settingsBD = appSettings.Value;
 }