This question is locked. New answers and comments are not allowed.
In a database I have a table called "Organization" with a field called "OrganizationName". At run time I can access organization's name value by using domain object's property (something like: myOrganization.OrganizationName = "New Name").
I would like to access domain object properties in the similar way one can access data reader object's properties (something like: myOrganization["OrganizationName"] = "New Name").
Is there a way to get/set value from domain objects using field names? A C# code example would be very helpful.
Thanks,
I would like to access domain object properties in the similar way one can access data reader object's properties (something like: myOrganization["OrganizationName"] = "New Name").
Is there a way to get/set value from domain objects using field names? A C# code example would be very helpful.
Thanks,