Removed non-unique GSMParser ID from models
This commit is contained in:
@@ -134,11 +134,11 @@ namespace DevConsole
|
|||||||
|
|
||||||
private static void OptionF()
|
private static void OptionF()
|
||||||
{
|
{
|
||||||
Guid guid = Guid.NewGuid();
|
//Guid guid = Guid.NewGuid();
|
||||||
IEnumerable<IDirectoriesModel> dm = gsmParser.QueryDirectoryById("600");
|
IEnumerable<IDirectoriesModel> dm = gsmParser.QueryDirectoryById("600");
|
||||||
foreach (var entry in dm)
|
foreach (var entry in dm)
|
||||||
{
|
{
|
||||||
entry.Path = guid.ToString();
|
//entry.Path = guid.ToString();
|
||||||
flcParser.InsertRecord("SaveData", entry);
|
flcParser.InsertRecord("SaveData", entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -148,7 +148,6 @@ namespace DevConsole
|
|||||||
{
|
{
|
||||||
foreach (var game in gameEntries)
|
foreach (var game in gameEntries)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"ID: {game.id}");
|
|
||||||
Console.WriteLine($"GameName: {game.GameName}");
|
Console.WriteLine($"GameName: {game.GameName}");
|
||||||
Console.WriteLine($"BackupWarning: {game.BackupWarning}");
|
Console.WriteLine($"BackupWarning: {game.BackupWarning}");
|
||||||
Console.WriteLine($"RestoreWarning: {game.RestoreWarning}");
|
Console.WriteLine($"RestoreWarning: {game.RestoreWarning}");
|
||||||
@@ -160,7 +159,6 @@ namespace DevConsole
|
|||||||
{
|
{
|
||||||
foreach (var directory in directoryEntries)
|
foreach (var directory in directoryEntries)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"ID: {directory.id}");
|
|
||||||
Console.WriteLine($"GameID: {directory.GameID}");
|
Console.WriteLine($"GameID: {directory.GameID}");
|
||||||
Console.WriteLine($"SpecialPath: {directory.SpecialPath}");
|
Console.WriteLine($"SpecialPath: {directory.SpecialPath}");
|
||||||
Console.WriteLine($"Path: {directory.Path}");
|
Console.WriteLine($"Path: {directory.Path}");
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ namespace FireLance.Interfaces
|
|||||||
{
|
{
|
||||||
public interface IDirectoriesModel
|
public interface IDirectoriesModel
|
||||||
{
|
{
|
||||||
int id { get; set; }
|
|
||||||
int GameID { get; set; }
|
int GameID { get; set; }
|
||||||
string SpecialPath { get; set; }
|
string SpecialPath { get; set; }
|
||||||
string Path { get; set; }
|
string Path { get; set; }
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ namespace FireLance.Interfaces
|
|||||||
{
|
{
|
||||||
public interface IGameEntryModel
|
public interface IGameEntryModel
|
||||||
{
|
{
|
||||||
int id { get; set; }
|
|
||||||
string GameName { get; set; }
|
string GameName { get; set; }
|
||||||
string BackupWarning { get; set; }
|
string BackupWarning { get; set; }
|
||||||
string RestoreWarning { get; set; }
|
string RestoreWarning { get; set; }
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ namespace FireLance.Model
|
|||||||
{
|
{
|
||||||
public class DirectoriesModel : IDirectoriesModel
|
public class DirectoriesModel : IDirectoriesModel
|
||||||
{
|
{
|
||||||
public int id { get; set; }
|
|
||||||
public int GameID { get; set; }
|
public int GameID { get; set; }
|
||||||
public string SpecialPath { get; set; }
|
public string SpecialPath { get; set; }
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
public class DirectoriesModel : FireLance.Interfaces.IDirectoriesModel
|
public class DirectoriesModel : FireLance.Interfaces.IDirectoriesModel
|
||||||
{
|
{
|
||||||
public int id { get; set; }
|
|
||||||
public int GameID { get; set; }
|
public int GameID { get; set; }
|
||||||
public string SpecialPath { get; set; }
|
public string SpecialPath { get; set; }
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
public class GameEntryModel : FireLance.Interfaces.IGameEntryModel
|
public class GameEntryModel : FireLance.Interfaces.IGameEntryModel
|
||||||
{
|
{
|
||||||
public int id { get; set; }
|
|
||||||
public string GameName { get; set; }
|
public string GameName { get; set; }
|
||||||
public string BackupWarning { get; set; }
|
public string BackupWarning { get; set; }
|
||||||
public string RestoreWarning { get; set; }
|
public string RestoreWarning { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user