public class Category { public string CategoryId { get; set; } [Unique]? //like this ,How to Add. public string Name { get; set; } public virtual ICollection<Product> Products { get; set; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)