samedi 18 juin 2016

c# Which is a good Pattern to create model Object?

In my app I have to build an object of with all ReferenceData.

class ReferenceData{
{
        public Complex1 Prop1{ get; set; }
        public Complex2 Prop2{ get; set; }
        public Complex3 Prop3{ get; set; }
        public Complex4 Prop4{ get; set; }
}

Above ReferenceData might have around 30 complex properties. I would like to know best pattern/way to create the ReferenceData object which is clean.

Thanks in Advance!!!

Aucun commentaire:

Enregistrer un commentaire