Hello. I'm evaluating OpenAccess ORM for my next project. After playing with it for a couple of hours, I still couldn't find the answers on my questions. I come from EF and LINQ2SQL and I want to change the orm due to the lack of the missing features I faced during my development time. Here's the questions:
1) I need to support at least 2 major dbms, SQL Server and Oracle. I know OA ORM supports both of them, and many more. That's great, but still, I couldn't find an option to forward map my entities (generated from sql server database), to oracle or any other database. How is it accomplished?
2) I need to implement a volatile, non storage property on my entity class. I know partial class is a solution here, but maybe there is a more clean solution of doing it? In "Model Explorer" window, I see "Implemented Properties" section, which is empty, however, I was not able to implement any property yet :) Could you give me an explenation what it means? I couldn't find anything in documentation.
3) Combining 2 tables in 1 entity. I'll describe my problem here. I need to support multi language support in my project. dynamic data should be translated in different languages. For that, I have 2 table for each translatable business object, for example:
- Table Service:
- Id int PK
- ProviderId int
- CreateDate DateTime
etc
- Table ServiceLocale:
- Id int pk
- ServiceId int
- Name nvarchar(15)
- Description nvarchar(20)
etc
As you can see, I want to combine Service and ServiceLocal tables in one single entity called Service for example. When I faced the problem in EF, I was not able to solve that problem. EF did support inheritance, but only with one to one table relationship and I need one to many relationship support (Service should have more than one ServiceLocale). Does OA ORM support this situation?
4) Is it possible to implement a custom calculated property which will do calculations with my own code without introducing partial class?
I think that's it from now. If I'll have any more questions, I'll ask here :)
Thank you for your support.