Hi,
Is there a way to obtain (from code) the name of mapped table for the entity like this myEntity.TableName ?
Cheers!
For SelfServicing:
string tableName = myEntity.Fields[0].SourceObjectName;
For Adapter:
IFieldPersistenceInfo fieldInfo = adapter.GetFieldInfo(myEntity.Fields[0]); string tableName = fieldInfo.SourceObjectName;
This will help.
Thanks!