Changed to newer framework in tracker project

This commit is contained in:
2020-03-23 00:39:45 +01:00
parent 88bd9b894a
commit bf67841d48
8 changed files with 139 additions and 10 deletions

View File

@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Text;
using TrackerLibrary.DataAccess;
using System.Configuration;
namespace TrackerLibrary
{
@ -23,6 +24,12 @@ namespace TrackerLibrary
TextConnector text = new TextConnector();
Connections.Add(text);
}
}
public static string CnnString(string name)
{
return ConfigurationManager.ConnectionStrings[name].ConnectionString;
}
}
}