internal void StarNotification(String conectionString, List <NotificationSqlTypes> notificationTypes, INotificationTable notificationTable) { NotificationTable = notificationTable; ConvertNotificationType(notificationTypes); using (Dependencytable = new SqlTableDependency <T>(conectionString)){ Dependencytable.Start(); } }
public void Start(String tableName, String conectionString, List <Enums.NotificationSqlTypes> suportEvent, INotificationTable inotificationTable) { NotificationTable = ResolveInstanceType(tableName); NotificationTable?.StartNotification(conectionString, suportEvent, inotificationTable); }
public void StartNotification(string conectionString, List <Enums.NotificationSqlTypes> suportEvent, INotificationTable notificationTable) { StarNotification(conectionString, suportEvent, notificationTable); }