I like to create an entitycollection of "unknown" entitytype, the resultset of a retrival procedure call.
The resultset of the stored procedure is assigned to a dataset. Because the result of the stored procedure is that of a pivot on a dynamic list of entities, we can't decide in forehand what the entitytype is. That means we need to create the entitytype dynamically.
Is this possible and how?