public static string GetConnectionString() { IConfigurationRoot Configuration = DBStart.GetAppSettings(); var connectionString = Configuration.GetConnectionString("LinnworksDB"); return(connectionString.ToString()); }
public DBManager() { string connectionString = DBStart.GetConnectionString(); Connection = DBAccess.OpenConnection(connectionString); }