I get the Type but that's not the same as the Class which is what I'm looking for.
Is there an inverse operation of typeof?
EDIT
I need the class in order to use a generic repository:
GenericRepository<BaseEntity> repository = new GenericRepository<BaseEntity>(new AzureBrightData());
I started by writing BaseEntity from which all entity class descend, but the problem is that the repository needs to know which table to search for.
For example, if we have a partition key and row key combination pair of (1,1) this doesn't allow me or the repository to know from which table to get the registry. It's not enough and that's why I believe I need the table.
Use the new() constraint.