using System.Collections.Generic; using MapTo; namespace BlueWest.Data { [MapFrom(new []{typeof(ProductUpdate), typeof(ProductCreate)})] public partial class Product { public int Id { get; set; } public string Name { get; set; } public string Size { get; set; } public Industry Industry { get; set; } public List Seller { get; set; } } }