コード例 #1
0
 /// <summary>
 /// Update or set the connection string to be used with the default provider. Unless
 /// you are calling this method prior to using Gentle the first time, you should call
 /// the ResetGentle method to clear all cached data.
 /// </summary>
 /// <param name="connectionString">The connection string to use with the default provider.</param>
 public static void SetDefaultProviderConnectionString(string connectionString)
 {
     GentleSettings.DefaultProviderConnectionString = connectionString;
     registry.SetDefaultConnectionString(connectionString);
 }