Initializes the TableInfo with information from a provided context