Eliminaizone articolo da struttura DB
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
namespace MP.FileData.DatabaseModels
|
||||
{
|
||||
[Table("Articoli")]
|
||||
public partial class ArticoloModel
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
[Key]
|
||||
public string CodArticolo { get; set; }
|
||||
public string DescArticolo { get; set; }
|
||||
public string Disegno { get; set; }
|
||||
public string Tipo { get; set; }
|
||||
|
||||
#endregion Public Properties
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,6 @@ namespace MP.FileData.DatabaseModels
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int FileId { get; set; }
|
||||
public bool Active { get; set; } = true;
|
||||
public string CodArticolo { get; set; }
|
||||
public string IdxMacchina { get; set; } = "";
|
||||
public string Name { get; set; } = "";
|
||||
public int Rev { get; set; } = 0;
|
||||
@@ -51,8 +50,6 @@ namespace MP.FileData.DatabaseModels
|
||||
}
|
||||
}
|
||||
|
||||
[ForeignKey("CodArticolo")]
|
||||
public virtual ArticoloModel Articolo { get; set; }
|
||||
[ForeignKey("IdxMacchina")]
|
||||
public virtual MacchinaModel Macchina { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user