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