38 references to SqlConnectionColumnEncryptionSetting
System.Data (38)
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (22)
636
internal static bool TryConvertToColumnEncryptionSetting(string value, out
SqlConnectionColumnEncryptionSetting
result) {
640
result =
SqlConnectionColumnEncryptionSetting
.Enabled;
644
result =
SqlConnectionColumnEncryptionSetting
.Disabled;
659
internal static bool IsValidColumnEncryptionSetting(
SqlConnectionColumnEncryptionSetting
value) {
660
Debug.Assert(Enum.GetNames(typeof(
SqlConnectionColumnEncryptionSetting
)).Length == 2, "SqlConnectionColumnEncryptionSetting enum has changed, update needed");
661
return value ==
SqlConnectionColumnEncryptionSetting
.Enabled || value ==
SqlConnectionColumnEncryptionSetting
.Disabled;
669
internal static string ColumnEncryptionSettingToString(
SqlConnectionColumnEncryptionSetting
value) {
673
case
SqlConnectionColumnEncryptionSetting
.Enabled:
675
case
SqlConnectionColumnEncryptionSetting
.Disabled:
787
internal static
SqlConnectionColumnEncryptionSetting
ConvertToColumnEncryptionSetting(string keyword, object value) {
793
SqlConnectionColumnEncryptionSetting
result;
810
SqlConnectionColumnEncryptionSetting
eValue;
812
if (value is
SqlConnectionColumnEncryptionSetting
) {
814
eValue = (
SqlConnectionColumnEncryptionSetting
)value;
820
throw ADP.ConvertFailed(value.GetType(), typeof(
SqlConnectionColumnEncryptionSetting
), null);
825
eValue = (
SqlConnectionColumnEncryptionSetting
)Enum.ToObject(typeof(
SqlConnectionColumnEncryptionSetting
), value);
830
throw ADP.ConvertFailed(value.GetType(), typeof(
SqlConnectionColumnEncryptionSetting
), e);
839
throw ADP.InvalidEnumerationValue(typeof(
SqlConnectionColumnEncryptionSetting
), (int)eValue);
899
internal static readonly
SqlConnectionColumnEncryptionSetting
ColumnEncryptionSetting =
SqlConnectionColumnEncryptionSetting
.Disabled;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
454
return opt != null ? opt.ColumnEncryptionSetting ==
SqlConnectionColumnEncryptionSetting
.Enabled : false;
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (5)
63
internal static readonly
SqlConnectionColumnEncryptionSetting
ColumnEncryptionSetting =
SqlConnectionColumnEncryptionSetting
.Disabled;
211
private readonly
SqlConnectionColumnEncryptionSetting
_columnEncryptionSetting;
556
internal
SqlConnectionColumnEncryptionSetting
ColumnEncryptionSetting { get { return _columnEncryptionSetting; } }
847
internal
SqlConnectionColumnEncryptionSetting
ConvertValueToColumnEncryptionSetting() {
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (5)
131
private
SqlConnectionColumnEncryptionSetting
_columnEncryptionSetting = DbConnectionStringDefaults.ColumnEncryptionSetting;
474
public
SqlConnectionColumnEncryptionSetting
ColumnEncryptionSetting {
478
throw ADP.InvalidEnumerationValue(typeof(
SqlConnectionColumnEncryptionSetting
), (int)value);
935
private static
SqlConnectionColumnEncryptionSetting
ConvertToColumnEncryptionSetting(string keyword, object value) {
1194
private void SetColumnEncryptionSettingValue(
SqlConnectionColumnEncryptionSetting
value) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (5)
2901
&& _connHandler.ConnectionOptions.ColumnEncryptionSetting ==
SqlConnectionColumnEncryptionSetting
.Enabled
3643
_connHandler.ConnectionOptions.ColumnEncryptionSetting ==
SqlConnectionColumnEncryptionSetting
.Enabled)) {
4774
connection.ConnectionOptions.ColumnEncryptionSetting ==
SqlConnectionColumnEncryptionSetting
.Enabled);
5348
&& _connHandler.ConnectionOptions.ColumnEncryptionSetting ==
SqlConnectionColumnEncryptionSetting
.Enabled))) {
9383
SqlConnectionColumnEncryptionSetting
.Enabled == _connHandler.ConnectionOptions.ColumnEncryptionSetting) {