I have a need to be able to build a Sql command which requires the full table name given an entity type but I can't seem to find an obvious way of accessing this.
PersistenceInfoProviderSingleton looked promising but is marked internal. If I use reflection to access this, can I get a table name from it?
Cheers
Simon
PS I need to be able to clear a table and reset its identity and was thinking something along the lines of
LLCoolJHelper.ExecuteSql(adapter, string.Format("DBCC CHECKIDENT ([{0}], NORESEED);"), xxx);