mardi 22 janvier 2019

How to add model class property using ExpendoObject?

I want to generate multiple property on my base class.. I want CarShar1 CarShar2 CarShar3 as same type..

public partial class Data
{
    [J("CarShar")] public CarChar CarShar { get; set; }
}

public partial class CarChar
{
    [J("code")] public string Code { get; set; }
    [J("name")] public string Name { get; set; }
    [J("configs")] public Configs Configs { get; set; }
}





Aucun commentaire:

Enregistrer un commentaire