30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated from a template.
|
|
//
|
|
// Manual changes to this file may cause unexpected behavior in your application.
|
|
// Manual changes to this file will be overwritten if the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Common
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public partial class Category
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Category()
|
|
{
|
|
this.Products = new HashSet<Product>();
|
|
}
|
|
|
|
public int CategoryID { get; set; }
|
|
public string CategoryName { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Product> Products { get; set; }
|
|
}
|
|
}
|