I have a UI from where we are adding values in a table Fields (Column-FieldName)
field Column values- Id FieldName
1 ProductName 2 ProductId 3 ProductCode
I have a existing class product with some existing properties
public class Product { public string ProductID { get; set; } product in a product search listing public string StoreName { get; set; } public string SearchToken { get; set; }
}
I am looking for a method which will add properties in existing class product at run time dynamically when user will add values in a table Fields
Aucun commentaire:
Enregistrer un commentaire