Fix model + migration x DB

This commit is contained in:
Samuele Locatelli
2021-09-03 11:49:06 +02:00
parent 4e64ddb80b
commit 5e7d966a93
6 changed files with 422 additions and 46 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ namespace MP.FileData.DatabaseModels
public string MimeType { get; set; } = "";
public bool Changed { get; set; } = false;
public DateTime LastCheck { get; set; } = DateTime.Now.AddYears(-1);
public byte[] Content { get; set; }
public byte[] FileContent { get; set; }
[ForeignKey("CodArticolo")]
public virtual ArticoloModel Articolo { get; set; }