Reputation: 1425
Given an entity instance, how do I get mapping information like table name, identifier column name, number of columns, etc?
Upvotes: 2
Views: 2462
Reputation: 99720
Configuration.GetClassMapping. PersistentClass has all the mapping info. Examples of PersistentClass manipulation:
Upvotes: 3