This commit is contained in:
2021-08-25 19:36:51 +00:00
parent a13bdc1a04
commit 936a0b863c
5 changed files with 6 additions and 6 deletions

View File

@@ -122,7 +122,7 @@ namespace AyaNova.Models
// public virtual DbSet<ServiceBank> ServiceBank { get; set; }
public virtual DbSet<ViewRestockRequired> ViewRestockRequired { get; set; }
public virtual DbSet<VPartInventoryList> VPartInventoryList { get; set; }
public virtual DbSet<ViewPartInventoryList> ViewPartInventoryList { get; set; }

View File

@@ -3,7 +3,7 @@ namespace AyaNova.Models
//Note this is how to define a View backed model with no key (id)
[Microsoft.EntityFrameworkCore.Keyless]
public class VPartInventoryList
public class ViewPartInventoryList
{
public long PartId { get; set; }
public string PartNumber { get; set; }