Initial commit

This commit is contained in:
Mark J Price 2022-03-13 16:17:01 +00:00
parent 1d9d051759
commit 9656378279
557 changed files with 182300 additions and 0 deletions

View file

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Packt.Shared
{
public partial class CustomerDemographic
{
public CustomerDemographic()
{
Customers = new HashSet<Customer>();
}
[Key]
[Column("CustomerTypeID")]
[StringLength(10)]
public string CustomerTypeId { get; set; } = null!;
[Column(TypeName = "ntext")]
public string? CustomerDesc { get; set; }
[ForeignKey("CustomerTypeId")]
[InverseProperty("CustomerTypes")]
public virtual ICollection<Customer> Customers { get; set; }
}
}