Removed magic strings from FirelanceMgr
- Renamed CSProj for both Gsm and Firelance. - Made namespace names consistent.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Gsm
|
||||
{
|
||||
public static class Collections
|
||||
{
|
||||
public static class Tables
|
||||
{
|
||||
public const string Directories = "Directories";
|
||||
public const string GameEntry = "GameEntry";
|
||||
public const string RegistryList = "RegistryList";
|
||||
}
|
||||
|
||||
public static class Columns
|
||||
{
|
||||
public const string ID = "id";
|
||||
public const string GameID = "GameID";
|
||||
public const string GameName = "GameName";
|
||||
}
|
||||
|
||||
public static class Options
|
||||
{
|
||||
public static string All = "*";
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using Microsoft.Data.Sqlite;
|
||||
using System;
|
||||
using System.IO;
|
||||
using FireLance.Interfaces;
|
||||
using Firelance.Interfaces;
|
||||
using GSMParser.Inferfaces;
|
||||
|
||||
namespace Gsm
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\FireLance\Firelance.csproj" />
|
||||
<ProjectReference Include="..\FireLance\FirelanceMgr.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -7,20 +7,6 @@ namespace Gsm
|
||||
{
|
||||
public class GsmRO : IGsmSqliteDBConnection
|
||||
{
|
||||
public static class Tables
|
||||
{
|
||||
public static string Directories { get { return "Directories"; } }
|
||||
public static string GameEntry { get { return "GameEntry"; } }
|
||||
public static string RegistryList { get { return "RegistryList"; } }
|
||||
}
|
||||
|
||||
public static class Columns
|
||||
{
|
||||
public static string ID { get { return "id"; } }
|
||||
public static string GameID { get { return "GameID"; } }
|
||||
public static string GameName { get { return "GameName"; } }
|
||||
}
|
||||
|
||||
public SqliteConnection Database { get; private set; }
|
||||
public GsmRO(SqliteConnection db)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user