Array
(
[dirname] => .
[basename] => Customer.cs
[extension] => cs
[filename] => Customer
)
1. file=./Customer.cs
2. file=.//Customer.cs
3. file=Customer.cs
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace CustomerMaintenance.Models.DataLayer;
public partial class Customer
{
[Key]
[Column("CustomerID")]
public int CustomerId { get; set; }
[StringLength(100)]
[Unicode(false)]
public string Name { get; set; } = null!;
[StringLength(50)]
[Unicode(false)]
public string Address { get; set; } = null!;
[StringLength(20)]
[Unicode(false)]
public string City { get; set; } = null!;
[StringLength(2)]
[Unicode(false)]
public string State { get; set; } = null!;
[StringLength(15)]
[Unicode(false)]
public string ZipCode { get; set; } = null!;
[Timestamp]
public byte[] Rowversion { get; set; } = null!;
[InverseProperty("Customer")]
public virtual ICollection Invoices { get; } = new List();
[ForeignKey("State")]
[InverseProperty("Customers")]
public virtual State StateNavigation { get; set; } = null!;
}