Let's say I have a Type User object that looks like this:
User {
Name = "Bob",
Email = "Bob@gmail.com",
Class = NULL
}
Can anyone think of a way to take this object and create such an object:
User {
Name = "Bob",
Email = "Bob@gmail.com"
}
Using fully shared code? Meaning, I do not want hard code to do anything with type or properties, because this code should apply to every object on my site. (the "User" type is an entity, by the way, use this if it helps you better do this).
I'm just trying to find a solution to the problem that I am facing, and I BELIEVE that Stub Entities can solve the problem, but I need to do this without hard coding any types or properties.
source
share