Add files information from DAT to database.

This commit is contained in:
2020-08-22 17:14:52 +01:00
parent 4b166c2e4a
commit 131b32a3dc
9 changed files with 667 additions and 13 deletions

View File

@@ -23,6 +23,7 @@
// Copyright © 2020 Natalia Portillo
*******************************************************************************/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace RomRepoMgr.Database.Models
@@ -32,6 +33,7 @@ namespace RomRepoMgr.Database.Models
[Required]
public string Name { get; set; }
[Required]
public virtual RomSet RomSet { get; set; }
public virtual RomSet RomSet { get; set; }
public virtual ICollection<FileByMachine> Files { get; set; }
}
}