41 references to DEFAULT
System.Data (41)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (5)
615return ((null != constr) ? constr.ConnectTimeout : SqlConnectionString.DEFAULT.Connect_Timeout); 636result = ((null != constr) ? constr.InitialCatalog : SqlConnectionString.DEFAULT.Initial_Catalog); 657result = ((null != constr) ? constr.DataSource : SqlConnectionString.DEFAULT.Data_Source); 685result = ((null != constr) ? constr.PacketSize : SqlConnectionString.DEFAULT.Packet_Size); 1687return ((null != constr) ? constr.Asynchronous : SqlConnectionString.DEFAULT.Asynchronous);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (35)
253ConvertValueToBoolean(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; 375if (!String.Equals(DEFAULT.FailoverPartner, _failoverPartner, StringComparison.OrdinalIgnoreCase)) { 382if (String.Equals(DEFAULT.Initial_Catalog, _initialCatalog, StringComparison.OrdinalIgnoreCase)) { 785return DEFAULT.ApplicationIntent; 807return DEFAULT.PoolBlockingPeriod; 829return DEFAULT.Authentication; 852return DEFAULT.ColumnEncryptionSetting; 870bool defaultEncryptValue = (authValue == null) ? DEFAULT.Encrypt : true;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
453internal int packetSize = SqlConnectionString.DEFAULT.Packet_Size; // packet size