Is there a table holding the information about espace/module tables and columns so that you can use it to programmatically do things on it?
PS: No exact use case yet.
Yes. In your dependencies screen, in (System), look for the "Entity" and "Entity_Attr" tables. Those contain what you are looking for.
There's a whole list of system tables that you can reference and use in this way, have a look. Just be careful when you start updating/changing data in them. It could have some unwanted consequences.
Thanks Tim!