jeudi 30 juillet 2020

Bind class properties from string in c#

I have a string like "dataSource=ReportDataSource;storedProcedure=GetUserEmails;tableName=Users". Is there a way to bind the class properties from this type of string. I have a class with all 3 properties dataSource,storedProcedure and tableName.





Aucun commentaire:

Enregistrer un commentaire