ChicagoKiwi wrote:
Using Adapter I can't work out how to get the underlying table name and field name from a fieldindex. I see how to create a EntityField2 from a FieldIndex but then I can't seem to get anywhere from there.
Has anyone tried this?
Create a derived class from the DataAccessAdapter.
To that class add a method which accepts an entity name (like "CustomerEntity") and the field index as int.
Then, call GetFieldPersistenceInfos(entityname) and return the FieldPersistenceInfo object at the index specified