31 references to Parser
System.Data (31)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (4)
558
if(isInTransaction && null == _externalTransaction && null == _internalTransaction && (_connection.
Parser
!= null && _connection.
Parser
.CurrentTransaction != null && _connection.
Parser
.CurrentTransaction.IsLocal)) {
2561
_parser = _connection.
Parser
;
fx\src\data\System\Data\SqlClient\SqlCommand.cs (24)
157
&& _activeConnection.
Parser
!= null
158
&& _activeConnection.
Parser
.IsColumnEncryptionSupported;
215
TdsParser parser = activeConnection.
Parser
;
944
Debug.Assert(_stateObj.Parser == _activeConnection.
Parser
, "stateobject parser not same as connection parser");
2266
EnclaveDelegate.Instance.InvalidateEnclaveSession(this._activeConnection.
Parser
.EnclaveType, this._activeConnection.DataSource, this._activeConnection.EnclaveAttestationUrl, this.enclavePackage.EnclaveSession);
3290
Debug.Assert(_activeConnection.
Parser
!= null, "_activeConnection.Parser should not be null in PrepareForTransparentEncryption.");
3291
Debug.Assert(_activeConnection.
Parser
.IsColumnEncryptionSupported,
3582
string enclaveType = this._activeConnection.
Parser
.EnclaveType;
3779
if (_activeConnection.
Parser
!= null) {
3780
tdsParser = _activeConnection.
Parser
;
3897
if (this._activeConnection.
Parser
.TceVersionSupported >= TdsEnums.MIN_TCE_VERSION_WITH_ENCLAVE_SUPPORT) {
3910
throw SQL.NoAttestationUrlSpecifiedForEnclaveBasedQuerySpDescribe(this._activeConnection.
Parser
.EnclaveType);
4047
throw SQL.UnexpectedDescribeParamFormatAttestationInfo (this._activeConnection.
Parser
.EnclaveType);
4062
string enclaveType = this._activeConnection.
Parser
.EnclaveType;
4072
throw SQL.AttestationInfoNotReturnedFromSqlServer(this._activeConnection.
Parser
.EnclaveType, this._activeConnection.EnclaveAttestationUrl);
4181
EnclaveDelegate.Instance.InvalidateEnclaveSession(this._activeConnection.
Parser
.EnclaveType, this._activeConnection.DataSource, this._activeConnection.EnclaveAttestationUrl, this.enclavePackage.EnclaveSession);
4216
EnclaveDelegate.Instance.InvalidateEnclaveSession(this._activeConnection.
Parser
.EnclaveType, this._activeConnection.DataSource, this._activeConnection.EnclaveAttestationUrl, this.enclavePackage.EnclaveSession);
4324
if (string.IsNullOrWhiteSpace(this._activeConnection.EnclaveAttestationUrl)) throw SQL.NoAttestationUrlSpecifiedForEnclaveBasedQueryGeneratingEnclavePackage(this._activeConnection.
Parser
.EnclaveType);
4326
string enclaveType = this._activeConnection.
Parser
.EnclaveType;
4387
Debug.Assert(null != _activeConnection.
Parser
, "TdsParser class should not be null in Command.Execute!");
4448
throw SQL.NullEnclavePackageForEnclaveBasedQuery(this._activeConnection.
Parser
.EnclaveType, this._activeConnection.EnclaveAttestationUrl);
4935
parser = _activeConnection.
Parser
;
5172
TdsParser parser = _activeConnection.
Parser
;
5420
TdsParser parser = _activeConnection.
Parser
;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
409
Debug.Assert(
Parser
!= null, "Where's the parser?");
410
Parser
.Statistics = _statistics;
419
TdsParser parser =
Parser
;