runtime icon indicating copy to clipboard operation
runtime copied to clipboard

SqlDependency Class Support

Open maike9 opened this issue 9 years ago • 7 comments

Does .Net Core/Entity Framework support SQL Dependancies and if not directly, is there a way in .Net Core to receive notifications when data changes in SQL Server?

maike9 avatar Apr 03 '17 19:04 maike9

@maike9 Right now the SqlDependecy support is not available in System.Data.SqlClient. We will look at adding support in future releases.

saurabh500 avatar Apr 06 '17 17:04 saurabh500

Is there any possibility of a short term work around ? until officially supported?

grahamehorner avatar May 02 '17 11:05 grahamehorner

Closing this as a duplicate of dotnet/runtime#17168 We are tracking query notifications and related APIs for 2.1

saurabh500 avatar May 31 '17 19:05 saurabh500

Following up on this. Was SqlDependancies added to .net core 2.1?

maike9 avatar Apr 10 '18 14:04 maike9

It appears to have been added in the 2.1.0 preview1

This is the SqlClient package where it SqlDependency exists:

https://www.nuget.org/packages/System.Data.SqlClient/4.5.0-preview1-26216-02

mattchidley avatar Apr 12 '18 14:04 mattchidley

@mattchidley , Thanks I was able to use the preview version with SqlDependency.

louiedgomez avatar May 10 '18 23:05 louiedgomez

Is that support in Xamarin.Android? error

JasonLiu007 avatar Nov 25 '20 06:11 JasonLiu007