From f5aa48265a3282a42417dd1574e86eb67e5314e3 Mon Sep 17 00:00:00 2001 From: Marco Audiffredi Date: Mon, 17 Jun 2024 18:16:27 +0200 Subject: [PATCH] marco clienti --- Models/Clienti.cs | 6 +++--- Models/Gesa_DbContext/GESA_CLIENTI_DbContext.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Models/Clienti.cs b/Models/Clienti.cs index e549488..5ab7daf 100644 --- a/Models/Clienti.cs +++ b/Models/Clienti.cs @@ -5,9 +5,9 @@ namespace ApiSoftway.Models [Keyless] public class Clienti { - public string? antipcon { get; set; } - public string? ancodice { get; set; } - public string? andescri { get; set; } + public string? Antipcon { get; set; } + public string? Ancodice { get; set; } + public string? Andescri { get; set; } public string? ancodfis { get; set; } public string? anpariva { get; set; } diff --git a/Models/Gesa_DbContext/GESA_CLIENTI_DbContext.cs b/Models/Gesa_DbContext/GESA_CLIENTI_DbContext.cs index c5ab116..7ec0919 100644 --- a/Models/Gesa_DbContext/GESA_CLIENTI_DbContext.cs +++ b/Models/Gesa_DbContext/GESA_CLIENTI_DbContext.cs @@ -10,7 +10,7 @@ namespace ApiSoftway.Models.Gesa_DbContext } protected override void OnModelCreating(ModelBuilder modelBuilder) { - modelBuilder.Entity().ToView("API_PERSONALE"); + modelBuilder.Entity().ToView("API_CLIENTI"); } }