A
Andrzej Lipski
I am new to dotnet and I'll tried searching Google for a solution to my
problem. I am hoping that it is possible to do, or am I going down a dead
end?
I have a User class that has known properties from a DB table (EmployeeID,
FirstName, LastName) and a set of unknown properties that need to be
appended to it.
Is it possible to create a function that I can pass a class object and
string containing the unknown property names into so that it appends the
class with the new properties and then instantiates it?
problem. I am hoping that it is possible to do, or am I going down a dead
end?
I have a User class that has known properties from a DB table (EmployeeID,
FirstName, LastName) and a set of unknown properties that need to be
appended to it.
Is it possible to create a function that I can pass a class object and
string containing the unknown property names into so that it appends the
class with the new properties and then instantiates it?