From 7060dc80c707fc0441ff69fe4f899107cb3f6fc1 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 27 Nov 2017 20:35:08 +0200 Subject: Split DAL to DAl.Local & DAL.Remote due to ambiguity of table names in EF. Implemented Unit testing for SQLite & SQL Server connections. --- Software/Visual_Studio/Tango.UnitTesting/Helper.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Software/Visual_Studio/Tango.UnitTesting/Helper.cs') diff --git a/Software/Visual_Studio/Tango.UnitTesting/Helper.cs b/Software/Visual_Studio/Tango.UnitTesting/Helper.cs index ece74d3f3..21e36168c 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/Helper.cs +++ b/Software/Visual_Studio/Tango.UnitTesting/Helper.cs @@ -34,6 +34,15 @@ namespace Tango.UnitTesting return Path.GetFullPath(@"..\..\..\PMR\Messages\"); } + /// + /// Gets the SQLite database file path in DB folder. + /// + /// + public static String GetSQLiteFilePath() + { + return Path.GetFullPath(@"..\..\..\DB\Tango.db"); + } + /// /// Initializes the logging manager. /// -- cgit v1.3.1