string className = "CustomerEntities[2]"
PropertyInfo propertyInfo = model.GetType().GetProperty(className);
propertyInfo is always null, how do I select class at an certain index of a list i.e. 2. However if I change the class name to "CustomerEntities", It selects an entire list.
Aucun commentaire:
Enregistrer un commentaire