cs11dotnet7/vscode/PracticalApps/Northwind.Common.EntityModels.SqlServer/SalesTotalsByAmount.cs

22 lines
614 B
C#
Raw Permalink Normal View History

2022-03-13 17:17:01 +01:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Packt.Shared
{
[Keyless]
public partial class SalesTotalsByAmount
{
[Column(TypeName = "money")]
public decimal? SaleAmount { get; set; }
[Column("OrderID")]
public int OrderId { get; set; }
[StringLength(40)]
public string CompanyName { get; set; } = null!;
[Column(TypeName = "datetime")]
public DateTime? ShippedDate { get; set; }
}
}