41 references to DEFAULT
System.Data (41)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (5)
615
return ((null != constr) ? constr.ConnectTimeout : SqlConnectionString.
DEFAULT
.Connect_Timeout);
636
result = ((null != constr) ? constr.InitialCatalog : SqlConnectionString.
DEFAULT
.Initial_Catalog);
657
result = ((null != constr) ? constr.DataSource : SqlConnectionString.
DEFAULT
.Data_Source);
685
result = ((null != constr) ? constr.PacketSize : SqlConnectionString.
DEFAULT
.Packet_Size);
1687
return ((null != constr) ? constr.Asynchronous : SqlConnectionString.
DEFAULT
.Asynchronous);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (35)
253
ConvertValueToBoolean(KEY.AsynchronousProcessing,
DEFAULT
.Asynchronous); // while we don't use it anymore, we still need to verify it is true/false
257
_connectionReset = ConvertValueToBoolean(KEY.Connection_Reset,
DEFAULT
.Connection_Reset);
258
_contextConnection = ConvertValueToBoolean(KEY.Context_Connection,
DEFAULT
.Context_Connection);
261
_mars = ConvertValueToBoolean(KEY.MARS,
DEFAULT
.MARS);
262
_persistSecurityInfo = ConvertValueToBoolean(KEY.Persist_Security_Info,
DEFAULT
.Persist_Security_Info);
263
_pooling = ConvertValueToBoolean(KEY.Pooling,
DEFAULT
.Pooling);
264
_replication = ConvertValueToBoolean(KEY.Replication,
DEFAULT
.Replication);
265
_userInstance = ConvertValueToBoolean(KEY.User_Instance,
DEFAULT
.User_Instance);
266
_multiSubnetFailover = ConvertValueToBoolean(KEY.MultiSubnetFailover,
DEFAULT
.MultiSubnetFailover);
267
_transparentNetworkIPResolution = ConvertValueToBoolean(KEY.TransparentNetworkIPResolution,
DEFAULT
.TransparentNetworkIPResolution);
269
_connectTimeout = ConvertValueToInt32(KEY.Connect_Timeout,
DEFAULT
.Connect_Timeout);
270
_loadBalanceTimeout = ConvertValueToInt32(KEY.Load_Balance_Timeout,
DEFAULT
.Load_Balance_Timeout);
271
_maxPoolSize = ConvertValueToInt32(KEY.Max_Pool_Size,
DEFAULT
.Max_Pool_Size);
272
_minPoolSize = ConvertValueToInt32(KEY.Min_Pool_Size,
DEFAULT
.Min_Pool_Size);
273
_packetSize = ConvertValueToInt32(KEY.Packet_Size,
DEFAULT
.Packet_Size);
274
_connectRetryCount = ConvertValueToInt32(KEY.Connect_Retry_Count,
DEFAULT
.Connect_Retry_Count);
275
_connectRetryInterval = ConvertValueToInt32(KEY.Connect_Retry_Interval,
DEFAULT
.Connect_Retry_Interval);
278
_applicationName = ConvertValueToString(KEY.Application_Name,
DEFAULT
.Application_Name);
279
_attachDBFileName = ConvertValueToString(KEY.AttachDBFilename,
DEFAULT
.AttachDBFilename);
280
_currentLanguage = ConvertValueToString(KEY.Current_Language,
DEFAULT
.Current_Language);
281
_dataSource = ConvertValueToString(KEY.Data_Source,
DEFAULT
.Data_Source);
283
_failoverPartner = ConvertValueToString(KEY.FailoverPartner,
DEFAULT
.FailoverPartner);
284
_initialCatalog = ConvertValueToString(KEY.Initial_Catalog,
DEFAULT
.Initial_Catalog);
286
_password = ConvertValueToString(KEY.Password,
DEFAULT
.Password);
287
_trustServerCertificate = ConvertValueToBoolean(KEY.TrustServerCertificate,
DEFAULT
.TrustServerCertificate);
290
_enclaveAttestationUrl = ConvertValueToString(KEY.EnclaveAttestationUrl,
DEFAULT
.EnclaveAttestationUrl);
296
_userID = ConvertValueToString(KEY.User_ID,
DEFAULT
.User_ID);
361
_networkLibrary =
DEFAULT
.Network_Library;
375
if (!String.Equals(
DEFAULT
.FailoverPartner, _failoverPartner, StringComparison.OrdinalIgnoreCase)) {
382
if (String.Equals(
DEFAULT
.Initial_Catalog, _initialCatalog, StringComparison.OrdinalIgnoreCase)) {
785
return
DEFAULT
.ApplicationIntent;
807
return
DEFAULT
.PoolBlockingPeriod;
829
return
DEFAULT
.Authentication;
852
return
DEFAULT
.ColumnEncryptionSetting;
870
bool defaultEncryptValue = (authValue == null) ?
DEFAULT
.Encrypt : true;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
453
internal int packetSize = SqlConnectionString.
DEFAULT
.Packet_Size; // packet size