3 writes to Notification
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (2)
279
sqlCommand.
Notification
= null;
288
sqlCommand.
Notification
= notificationRequest;
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
1119
cmd.
Notification
= new SqlNotificationRequest();
18 references to Notification
System.Data (18)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (14)
3013
if (null !=
Notification
) {
3033
Notification
.Options = SqlDependency.GetDefaultComposedOptions(_activeConnection.DataSource,
3041
Notification
.UserData = _sqlDep.ComputeHashAndAddToDispatcher(this);
3110
Task executeTask = _stateObj.Parser.TdsExecuteSQLBatch(this.CommandText, timeout, this.
Notification
, _stateObj, sync: true);
4423
writeTask = _stateObj.Parser.TdsExecuteRPC(this, _sqlRPCParameterEncryptionReqArray, timeout, inSchema, this.
Notification
, _stateObj, CommandType.StoredProcedure == CommandType, sync: !asyncWrite);
4434
writeTask = _stateObj.Parser.TdsExecuteRPC(this, _SqlRPCBatchArray, timeout, inSchema, this.
Notification
, _stateObj, CommandType.StoredProcedure == CommandType, sync: !asyncWrite );
4451
writeTask = _stateObj.Parser.TdsExecuteSQLBatch(text, timeout, this.
Notification
, _stateObj,
4455
writeTask = _stateObj.Parser.TdsExecuteSQLBatch(text, timeout, this.
Notification
, _stateObj, sync: !asyncWrite);
4500
writeTask = _stateObj.Parser.TdsExecuteRPC(this, _rpcArrayOf1, timeout, inSchema, this.
Notification
, _stateObj, CommandType.StoredProcedure == CommandType, sync:!asyncWrite);
4520
Task executeTask = _stateObj.Parser.TdsExecuteSQLBatch(optionSettings, timeout, this.
Notification
, _stateObj, sync: true);
4535
writeTask=_stateObj.Parser.TdsExecuteRPC(this, _rpcArrayOf1, timeout, inSchema, this.
Notification
, _stateObj, CommandType.StoredProcedure == CommandType, sync:!asyncWrite);
4776
_sqlDep.StartTimer(
Notification
);
4897
if ((
Notification
!= null) && !_activeConnection.IsYukonOrNewer) {
6202
if (null !=
Notification
){
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (1)
276
SqlNotificationRequest notificationRequest = sqlCommand.
Notification
;
fx\src\data\System\Data\SqlClient\SqlDependency.cs (3)
1107
if (cmd.
Notification
!= null) {
1120
cmd.
Notification
.Timeout = _timeout;
1124
cmd.
Notification
.Options = _options;