/// <summary> /// Gets the name of the current database provider. /// </summary> /// <returns>Returns the current database provider name.</returns> public static string GetCurrentProviderName() { HelperConfigInfo config = HelperConfigInfo.Instance; return(config.Provider); }
/// <summary> /// Gets the current connection string. /// </summary> /// <returns>Returns the current connection string used to talk to the relational database.</returns> public static string GetCurrentConnectionString() { HelperConfigInfo config = HelperConfigInfo.Instance; return(config.ConnectionString); }