namespace AyaNova.Models { //Note this is how to define a View backed model with no key (id) [Microsoft.EntityFrameworkCore.Keyless] public class ViewUnfulfilledPartRequestList { public long RequestId { get; set; } public long PartId { get; set; } public long? PartWarehouseId { get; set; } public decimal Quantity { get; set; } public long Serial { get; set; } public string PartDescription { get; set; } public string PartName { get; set; } public string PartWarehouseName { get; set; } public long? WholesalerId { get; set; } public string WholesalerName { get; set; } public long? AltWholesalerId { get; set; } public string AltWholesalerName { get; set; } public string RequestedByUserName { get; set; } public long? RequestedByUserId { get; set; } }//eoc }//eons