45 references to SqlCommandColumnEncryptionSetting
System.Data (45)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (14)
65private SqlCommandColumnEncryptionSetting _columnEncryptionSetting = SqlCommandColumnEncryptionSetting.UseConnectionSetting; 155return (_columnEncryptionSetting == SqlCommandColumnEncryptionSetting.Enabled 156|| (_columnEncryptionSetting == SqlCommandColumnEncryptionSetting.UseConnectionSetting && _activeConnection.IsColumnEncryptionSettingEnabled)) 419public SqlCommand(string cmdText, SqlConnection connection, SqlTransaction transaction, SqlCommandColumnEncryptionSetting columnEncryptionSetting) : this() { 658public SqlCommandColumnEncryptionSetting ColumnEncryptionSetting { 3293Debug.Assert(_columnEncryptionSetting == SqlCommandColumnEncryptionSetting.Enabled 3294|| (_columnEncryptionSetting == SqlCommandColumnEncryptionSetting.UseConnectionSetting && _activeConnection.IsColumnEncryptionSettingEnabled), 4811if (((SqlCommandColumnEncryptionSetting.UseConnectionSetting == ColumnEncryptionSetting && _activeConnection.IsColumnEncryptionSettingEnabled) 4812|| (ColumnEncryptionSetting == SqlCommandColumnEncryptionSetting.Enabled || ColumnEncryptionSetting == SqlCommandColumnEncryptionSetting.ResultSetOnly)) 5203TdsParser.GetNullSqlValue(buff, rec, SqlCommandColumnEncryptionSetting.Enabled, parser.Connection); 6116private void SetColumnEncryptionSetting(SqlCommandColumnEncryptionSetting newColumnEncryptionSetting) { 6128internal void AddBatchCommand(string commandText, SqlParameterCollection parameters, CommandType cmdType, SqlCommandColumnEncryptionSetting columnEncryptionSetting) {
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (2)
38internal readonly SqlCommandColumnEncryptionSetting ColumnEncryptionSetting; 40internal LocalCommand(string commandText, SqlParameterCollection parameters, int returnParameterIndex, CommandType cmdType, SqlCommandColumnEncryptionSetting columnEncryptionSetting) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (3)
3380_command != null ? _command.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting, 3517_command != null ? _command.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting, 3530_command != null ? _command.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting,
fx\src\data\System\Data\SqlClient\TdsParser.cs (26)
2189cmdHandler != null ? cmdHandler.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting)) { 2264cmdHandler != null ? cmdHandler.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting)) { 3348SqlCommandColumnEncryptionSetting columnEncryptionSetting) { 3554GetNullSqlValue(rec.value, rec, SqlCommandColumnEncryptionSetting.Disabled, _connHandler); 3559if (!TryReadSqlValue(rec.value, rec, intlen, stateObj, SqlCommandColumnEncryptionSetting.Disabled, columnName:null /*Not used*/)) { 3571SqlCommandColumnEncryptionSetting columnEncryptionSetting, 3639if ((columnEncryptionSetting == SqlCommandColumnEncryptionSetting.Enabled || 3640(columnEncryptionSetting == SqlCommandColumnEncryptionSetting.ResultSetOnly && !isReturnValue)) || 3641(columnEncryptionSetting == SqlCommandColumnEncryptionSetting.UseConnectionSetting && 3902if (!TryCommonProcessMetaData(stateObj, col, null, fColMD: false, columnEncryptionSetting: SqlCommandColumnEncryptionSetting.Disabled)) { 4108internal bool TryProcessMetaData(int cColumns, TdsParserStateObject stateObj, out _SqlMetaDataSet metaData, SqlCommandColumnEncryptionSetting columnEncryptionSetting) { 4282private bool TryCommonProcessMetaData(TdsParserStateObject stateObj, _SqlMetaData col, SqlTceCipherInfoTable? cipherTable, bool fColMD, SqlCommandColumnEncryptionSetting columnEncryptionSetting) { 4731GetNullSqlValue(data, md, SqlCommandColumnEncryptionSetting.Disabled /*Column Encryption Disabled for Bulk Copy*/, _connHandler); 4739SqlCommandColumnEncryptionSetting.Disabled /*Column Encryption Disabled for Bulk Copy*/, 4758internal static bool ShouldHonorTceForRead (SqlCommandColumnEncryptionSetting columnEncryptionSetting, 4763case SqlCommandColumnEncryptionSetting.Disabled: 4765case SqlCommandColumnEncryptionSetting.Enabled: 4767case SqlCommandColumnEncryptionSetting.ResultSetOnly: 4771Debug.Assert(SqlCommandColumnEncryptionSetting.UseConnectionSetting == columnEncryptionSetting, 4781SqlCommandColumnEncryptionSetting columnEncryptionSetting, 5297SqlCommandColumnEncryptionSetting columnEncryptionOverride, 5344&& ((columnEncryptionOverride == SqlCommandColumnEncryptionSetting.Enabled 5345|| columnEncryptionOverride == SqlCommandColumnEncryptionSetting.ResultSetOnly) 5346|| (columnEncryptionOverride == SqlCommandColumnEncryptionSetting.UseConnectionSetting 8138!(cmd.ColumnEncryptionSetting == SqlCommandColumnEncryptionSetting.Enabled || 8139(cmd.ColumnEncryptionSetting == SqlCommandColumnEncryptionSetting.UseConnectionSetting && cmd.Connection.IsColumnEncryptionSettingEnabled))) {