ALTER DATABASE DB_NAME SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE
SELECT is_broker_enabled FROM SYS.DATABASES WHERE NAME = 'DB_NAME'
dotnet add package SqlTableDependency
ALTER DATABASE DB_NAME SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE
SELECT is_broker_enabled FROM SYS.DATABASES WHERE NAME = 'DB_NAME'
dotnet add package SqlTableDependency