MP.DATA, riorganizzazioni varie:

- renaming classi gestione DbModels in
- spostamento anagrafica flussi da auth a generale
This commit is contained in:
Samuele E. Locatelli
2025-03-08 10:40:09 +01:00
parent f33a17c156
commit 50d65eebaa
227 changed files with 400 additions and 367 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ using global::Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MongoDB.Driver.Linq;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using System.Text;
+1 -1
View File
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using MP_TAB3.Shared;
+1 -1
View File
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.DTO;
using MP.Data.Services;
using MP_TAB3.Pages;
+1 -1
View File
@@ -1,6 +1,6 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using static EgwCoreLib.Utils.DtUtils;
+1 -1
View File
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using System;
+1 -1
View File
@@ -1,6 +1,6 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using Org.BouncyCastle.Asn1.IsisMtt.X509;
+1 -1
View File
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -1,6 +1,6 @@
using global::Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using System.Data;
using System.Reflection.Metadata;
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using MP_TAB3.Shared;
using System;
+5 -5
View File
@@ -2,7 +2,7 @@ using EgwCoreLib.Razor;
using global::Microsoft.AspNetCore.Components;
using Microsoft.EntityFrameworkCore.SqlServer.Query.Internal;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using System;
@@ -376,7 +376,7 @@ namespace MP_TAB3.Components
{
saveParams();
isLoading = RecMSE == null;
// controllo SE ho variazioni così rileggo
// controllo SE ho variazioni cos rileggo
if (!string.IsNullOrEmpty(IdxMacchSub) && RecMSE != null)
{
// solo se cambia macchina forzo da DB
@@ -438,7 +438,7 @@ namespace MP_TAB3.Components
protected void setGaugeVals()
{
// se è una doppio pallet uso dati MSE
// se una doppio pallet uso dati MSE
if (string.IsNullOrEmpty(IdxMacchSub) && isMulti)
{
if (CRecMSE != null)
@@ -570,7 +570,7 @@ namespace MP_TAB3.Components
}
/// <summary>
/// Toggle visibilità button
/// Toggle visibilit button
/// </summary>
private void ToggleDraw()
{
@@ -578,7 +578,7 @@ namespace MP_TAB3.Components
}
/// <summary>
/// Toggle visibilità blocco PODL
/// Toggle visibilit blocco PODL
/// </summary>
private void TogglePOdl()
{
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -15,7 +15,7 @@ using MP_TAB3;
using MP_TAB3.Shared;
using MP_TAB3.Components;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.DTO;
using MP.Data.Services;
using Newtonsoft.Json;
+1 -1
View File
@@ -1,6 +1,6 @@
using global::Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.DTO;
using MP.Data.Services;
using NLog.LayoutRenderers.Wrappers;
+1 -1
View File
@@ -1,7 +1,7 @@
using global::Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Objects;
using MP.Data.Services;
using NLog;
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.DTO;
using MP.Data.Services;
using NLog;
+1 -1
View File
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using NLog.Fluent;
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
namespace MP_TAB3.Components
{
+1 -1
View File
@@ -1,6 +1,6 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using static EgwCoreLib.Utils.DtUtils;
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
+1 -1
View File
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Components
@@ -15,7 +15,7 @@ using MP_TAB3;
using MP_TAB3.Shared;
using MP_TAB3.Components;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.DTO;
using MP.Data.Services;
using Newtonsoft.Json;
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Objects;
using MP.Data.Services;
@@ -1,6 +1,6 @@
using global::Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Objects;
using MP.Data.Services;
+1 -1
View File
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data;
using MP.Data.Services;
using Newtonsoft.Json;
+1 -1
View File
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data;
using MP.Data.Services;
using MP_TAB3.Shared;
+1 -1
View File
@@ -1,7 +1,7 @@
using global::Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Routing;
using MP.Data;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using MP_TAB3.Components;
using NLog;
+1 -1
View File
@@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.WebUtilities;
//using MongoDB.Bson.IO;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.DTO;
using MP.Data.Services;
using Newtonsoft.Json;
+1 -1
View File
@@ -2,7 +2,7 @@ using global::Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data;
using MP.Data.Conf;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using MP_TAB3.Shared;
using Newtonsoft.Json;
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
+1 -1
View File
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
+1 -1
View File
@@ -1,5 +1,5 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
namespace MP_TAB3.Pages
+1 -1
View File
@@ -1,7 +1,7 @@
using global::Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.JSInterop;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
+1 -1
View File
@@ -10,7 +10,7 @@
@using MP_TAB3.Shared
@using MP_TAB3.Components
@using MP.Data
@using MP.Data.DatabaseModels
@using MP.Data.DbModels
@using MP.Data.DTO
@using MP.Data.Services
@using Newtonsoft.Json
-17
View File
@@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.AppAuth.Models
{
public partial class AnagraficaFlussi
{
#region Public Properties
public string CodFlux { get; set; }
public string DescrFlux { get; set; }
#endregion Public Properties
}
}
-12
View File
@@ -58,7 +58,6 @@ namespace MP.AppAuth
public virtual DbSet<AnagraficaEventi> DbSetAnagEventi { get; set; }
public virtual DbSet<AnagClassiTempo> DbSetAnagClassiTempo { get; set; }
public virtual DbSet<AnagraficaCausaliScarto> DbSetAnagCauSca { get; set; }
public virtual DbSet<AnagraficaFlussi> DbSetAnagFlussi { get; set; }
public virtual DbSet<AnagraficaIngressi> DbSetAnagIngressi { get; set; }
public virtual DbSet<AnagraficaMicroStati> DbSetAnagMicroStati { get; set; }
public virtual DbSet<AnagraficaStati> DbSetAnagStati { get; set; }
@@ -210,17 +209,6 @@ namespace MP.AppAuth
.HasDefaultValueSql("('')");
});
modelBuilder.Entity<AnagraficaFlussi>(entity =>
{
entity.HasKey(e => e.CodFlux);
entity.ToTable("AnagraficaFlussi");
entity.Property(e => e.CodFlux).HasMaxLength(50);
entity.Property(e => e.DescrFlux).HasMaxLength(50);
});
modelBuilder.Entity<AnagraficaIngressi>(entity =>
{
entity.HasKey(e => new { e.IdxFamigliaIngresso, e.ValoreIngresso });
+1 -1
View File
@@ -1,7 +1,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using NLog;
using System;
using System.Collections.Generic;
+3 -3
View File
@@ -1,7 +1,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using NLog;
using System;
using System.Collections.Generic;
@@ -127,9 +127,9 @@ namespace MP.Data.Controllers
/// <param name="CodFlux">*=tutti, altrimenti solo selezionato</param>
/// <param name="MaxRec">numero massimo record da restituire</param>
/// <returns></returns>
public List<FluxLog> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec)
public List<FluxLogModel> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec)
{
List<FluxLog> dbResult = new List<FluxLog>();
List<FluxLogModel> dbResult = new List<FluxLogModel>();
using (var dbCtx = new MoonPro_FluxContext(_configuration))
{
dbResult = dbCtx
+1 -1
View File
@@ -1,7 +1,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Objects;
using NLog;
using System;
+9 -9
View File
@@ -1,7 +1,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using NLog;
using System;
using System.Collections.Generic;
@@ -29,9 +29,9 @@ namespace MP.Data.Controllers
/// <param name="numRecord"></param>
/// <param name="searchVal"></param>
/// <returns></returns>
public List<DatabaseModels.StatsAnagArticoli> ArticoliGetSearch(int numRecord, string searchVal = "")
public List<DbModels.StatsAnagArticoli> ArticoliGetSearch(int numRecord, string searchVal = "")
{
List<DatabaseModels.StatsAnagArticoli> dbResult = new List<DatabaseModels.StatsAnagArticoli>();
List<DbModels.StatsAnagArticoli> dbResult = new List<DbModels.StatsAnagArticoli>();
using (var dbCtx = new MoonProContext(_configuration))
{
dbResult = dbCtx
@@ -49,9 +49,9 @@ namespace MP.Data.Controllers
/// Elenco da tabella Macchine
/// </summary>
/// <returns></returns>
public List<DatabaseModels.ConfigModel> ConfigGetAll()
public List<DbModels.ConfigModel> ConfigGetAll()
{
List<DatabaseModels.ConfigModel> dbResult = new List<DatabaseModels.ConfigModel>();
List<DbModels.ConfigModel> dbResult = new List<DbModels.ConfigModel>();
using (var dbCtx = new MoonProContext(_configuration))
{
dbResult = dbCtx
@@ -71,9 +71,9 @@ namespace MP.Data.Controllers
/// Elenco da tabella Macchine
/// </summary>
/// <returns></returns>
public List<DatabaseModels.Macchine> MacchineGetAll()
public List<DbModels.Macchine> MacchineGetAll()
{
List<DatabaseModels.Macchine> dbResult = new List<DatabaseModels.Macchine>();
List<DbModels.Macchine> dbResult = new List<DbModels.Macchine>();
using (var dbCtx = new MoonProContext(_configuration))
{
dbResult = dbCtx
@@ -136,9 +136,9 @@ namespace MP.Data.Controllers
/// Elenco da tabella MappaStatoExpl
/// </summary>
/// <returns></returns>
public List<DatabaseModels.MappaStatoExpl> MseGetAll(int maxAge = 2000)
public List<DbModels.MappaStatoExpl> MseGetAll(int maxAge = 2000)
{
List<DatabaseModels.MappaStatoExpl> dbResult = new List<DatabaseModels.MappaStatoExpl>();
List<DbModels.MappaStatoExpl> dbResult = new List<DbModels.MappaStatoExpl>();
using (var dbCtx = new MoonProContext(_configuration))
{
var maxAgeSec = new SqlParameter("@maxAgeSec", maxAge);
+3 -3
View File
@@ -1,7 +1,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.DTO;
using MP.Data.Objects;
using NLog;
@@ -696,9 +696,9 @@ namespace MP.Data.Controllers
/// <param name="CodFlux">*=tutti, altrimenti solo selezionato</param>
/// <param name="MaxRec">numero massimo record da restituire</param>
/// <returns></returns>
public List<FluxLog> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec)
public List<FluxLogModel> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec)
{
List<FluxLog> dbResult = new List<FluxLog>();
List<FluxLogModel> dbResult = new List<FluxLogModel>();
using (var dbCtx = new MoonPro_FluxContext(_configuration))
{
dbResult = dbCtx
+1 -1
View File
@@ -2,7 +2,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using NLog;
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,7 +1,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using MP.Data.Objects;
using NLog;
using System;
+1 -1
View File
@@ -2,7 +2,7 @@
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using NLog;
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using System;
using System.Collections.Generic;
using System.Linq;
+1 -1
View File
@@ -1,4 +1,4 @@
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using System;
using System.Collections.Generic;
using System.Linq;
+1 -1
View File
@@ -1,4 +1,4 @@
using MP.Data.DatabaseModels;
using MP.Data.DbModels;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AlarmLog")]
public partial class AlarmLogModel
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagArticoli")]
public partial class AnagArticoli
@@ -11,7 +11,7 @@ using System.Threading.Tasks;
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagArticoli")]
public partial class AnagArticoli_MAG
@@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagraficaEventi")]
public class AnagEventiModel
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagFLTrans")]
public class AnagFLTransModel
+27
View File
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
namespace MP.Data.DbModels
{
[Table("AnagFluxType")]
public partial class AnagFluxTypeModel
{
#region Public Properties
[Key, MaxLength(50)]
public string FluxType { get; set; } = "";
[MaxLength(50)]
public string DescrType { get; set; } = "";
public bool IsNumber { get; set; } = false;
public bool IsEnergy { get; set; } = false;
#endregion Public Properties
}
}
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("RegGiacenze")]
public class AnagGiacenzeModel
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagraficaGruppi")]
public partial class AnagGruppi
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagKeyValue")]
public partial class AnagKeyValueModel
@@ -1,6 +1,6 @@
using Microsoft.EntityFrameworkCore;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Keyless]
public partial class AnagLottiArca
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("ElencoLotti")]
public class AnagLottoModel
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagMagazzini")]
public partial class AnagMagModel
@@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
@@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagraficaStati")]
public class AnagStatiModel
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("AnagTags")]
public partial class AnagTagsModel
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("ElencoUdc")]
public class AnagUdcModel
+32
View File
@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
namespace MP.Data.DbModels
{
[Table("AnagraficaFlussi")]
public partial class AnagraficaFlussiModel
{
#region Public Properties
[Key, MaxLength(50)]
public string CodFlux { get; set; }
[MaxLength(50)]
public string DescrFlux { get; set; }
[MaxLength(50)]
public string FluxType { get; set; } = "";
/// <summary>
/// Navigazione oggetto AnagFluxType
/// </summary>
[ForeignKey("FluxType")]
public virtual AnagFluxTypeModel FluxTypeNav { get; set; } = null!;
#endregion Public Properties
}
}
@@ -5,7 +5,7 @@ using System.Collections.Generic;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class AzioniUL
{
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class CommentiModel
{
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("Config")]
public partial class ConfigModel
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class DatiMacchineModel
{
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class DdbTurni
{
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("DiarioDiBordo")]
public partial class DiarioDiBordoModel
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("Dossiers")]
public partial class DossierModel
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("ElencoLotti")]
public partial class ElencoLottiModel
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("EventList")]
public partial class EventListModel
@@ -36,6 +36,7 @@ namespace MP.Data.DatabaseModels
/// </summary>
[ForeignKey("IdxMacchina")]
public virtual Macchine MachineNav { get; set; } = null!;
/// <summary>
/// Navigazione oggetto Articolo
/// </summary>
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class FermiNonQualModel
{
@@ -7,10 +7,10 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("FluxLog")]
public partial class FluxLog
public partial class FluxLogModel
{
#region Public Properties
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("Gruppi2Macchine")]
public partial class Gruppi2MaccModel
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("Gruppi2Operatori")]
public partial class Gruppi2OperModel
@@ -1,6 +1,6 @@
using Microsoft.EntityFrameworkCore;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Keyless]
public partial class InveSessTotLotModel
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("InveSess")]
public class InventorySessionModel
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class KeepAliveModel
{
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("Lingue")]
public partial class LingueModel
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("LinkMenuJQM")]
public partial class LinkMenu
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("ListValues")]
public partial class ListValues
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("Macchine")]
public partial class Macchine
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class Macchine2SlaveModel
{
@@ -7,7 +7,7 @@ using System.Data;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class MappaStatoExpl
{
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("MicroStatoMacchina")]
public partial class MicroStatoMacchinaModel
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("v_ODL_exp")]
public partial class ODLExpModel
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("ODL")]
public partial class ODLModel
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("ODL_Energy")]
public partial class OdlEnergyModel
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class PODLExpModel
{
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("PromesseODL")]
public partial class PODLModel
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class PzProdModel
{
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
public partial class RegCheckModel
{
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
namespace MP.Data.DbModels
{
[Table("RegistroControlli")]
public partial class RegistroControlliModel

Some files were not shown because too many files have changed in this diff Show More