31 references to DbConnectionStringBuilderUtil
System.Data (31)
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
86
string keyvalue =
DbConnectionStringBuilderUtil
.ConvertToString(value);
fx\src\data\System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
200
return
DbConnectionStringBuilderUtil
.ConvertToString(value);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (3)
270
return
DbConnectionStringBuilderUtil
.ConvertToBoolean(value);
273
return
DbConnectionStringBuilderUtil
.ConvertToInt32(value);
276
return
DbConnectionStringBuilderUtil
.ConvertToString(value);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (4)
791
return
DbConnectionStringBuilderUtil
.ConvertToApplicationIntent(KEY.ApplicationIntent, value);
812
return
DbConnectionStringBuilderUtil
.ConvertToPoolBlockingPeriod(KEY.PoolBlockingPeriod, value);
833
return
DbConnectionStringBuilderUtil
.ConvertToAuthenticationType(KEY.Authentication, valStr);
856
return
DbConnectionStringBuilderUtil
.ConvertToColumnEncryptionSetting(KEY.ColumnEncryptionSetting, valStr);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (21)
326
if (!
DbConnectionStringBuilderUtil
.IsValidApplicationIntentValue(value)) {
382
if (!
DbConnectionStringBuilderUtil
.IsValidPoolBlockingPeriodValue(value))
477
if (!
DbConnectionStringBuilderUtil
.IsValidColumnEncryptionSetting(value)) {
567
if (!
DbConnectionStringBuilderUtil
.IsValidAuthenticationTypeValue(value)) {
908
return
DbConnectionStringBuilderUtil
.ConvertToBoolean(value);
911
return
DbConnectionStringBuilderUtil
.ConvertToInt32(value);
914
return
DbConnectionStringBuilderUtil
.ConvertToIntegratedSecurity(value);
917
return
DbConnectionStringBuilderUtil
.ConvertToString(value);
920
return
DbConnectionStringBuilderUtil
.ConvertToApplicationIntent(keyword, value);
923
return
DbConnectionStringBuilderUtil
.ConvertToAuthenticationType(keyword, value);
927
return
DbConnectionStringBuilderUtil
.ConvertToPoolBlockingPeriod(keyword, value);
936
return
DbConnectionStringBuilderUtil
.ConvertToColumnEncryptionSetting(keyword, value);
941
return
DbConnectionStringBuilderUtil
.AuthenticationTypeToString((SqlAuthenticationMethod)value);
1182
Debug.Assert(
DbConnectionStringBuilderUtil
.IsValidApplicationIntentValue(value), "Invalid value for ApplicationIntent");
1183
base[DbConnectionStringKeywords.ApplicationIntent] =
DbConnectionStringBuilderUtil
.ApplicationIntentToString(value);
1187
Debug.Assert(
DbConnectionStringBuilderUtil
.IsValidPoolBlockingPeriodValue(value), "Invalid value for PoolBlockingPeriod");
1188
base[DbConnectionStringKeywords.PoolBlockingPeriod] =
DbConnectionStringBuilderUtil
.PoolBlockingPeriodToString(value);
1191
Debug.Assert(
DbConnectionStringBuilderUtil
.IsValidAuthenticationTypeValue(value), "Invalid value for AuthenticationType");
1192
base[DbConnectionStringKeywords.Authentication] =
DbConnectionStringBuilderUtil
.AuthenticationTypeToString(value);
1195
Debug.Assert(
DbConnectionStringBuilderUtil
.IsValidColumnEncryptionSetting(value), "Invalid value for SqlConnectionColumnEncryptionSetting");
1196
base[DbConnectionStringKeywords.ColumnEncryptionSetting] =
DbConnectionStringBuilderUtil
.ColumnEncryptionSettingToString(value);
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
262
return ADP.InvalidOperation(Res.GetString(Res.SQL_CredentialsNotProvided,
DbConnectionStringBuilderUtil
.AuthenticationTypeToString(auth)));