Changed to newer framework in tracker project
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user