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