Aurelius Entity Mapping for table with same name

Can I manage two different databases with Aurelius mapping which however have inside tables with the same name but different structure?
Do I have to rename one of the two tables?

Hi,

Well, same table names will not be a problem. Since tables have different structures (fields) you will need to map to different Entities (classes). I guess this is a case to use Aurelius Multi-Model design, as explained in the documentation:

https://doc.tmssoftware.com/biz/aurelius/guide/model.html

HTH,

Regards

1 Like

Hi,
Thanks for the reply. Can I use the [Table ('TABLE')] or [Sequence ('SEQUENCE')] attributes in this case? or just [Automapping]?

Regards

1 Like

Yes, all the mapping is normal and the same. Multimodel feature just allows you to group classes into different models by tagging them with names.

Great, thanks.
After entering the "model" property, launching the "Updatedatabase" or "Validatedatabase" functions, i have thi error message :"ETableMetadatanotfound...'OPF internal error : Table:''Table" not found in database metadata."

regards

Hard to tell, can you please provide more details?