This is a migrated thread and some comments may be shown as answers.

Large model design

5 Answers 108 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adeagbo
Top achievements
Rank 1
Adeagbo asked on 25 Mar 2012, 12:21 PM
Hi

I am currently working on an ERP system and it involve a large number of tables.
Can somebody help on using openaccess in desgning large entity model.
I want to do a modular design that will allow me to breakup the model into smaller unit in different project
With little replication of code.

Thank you.

5 Answers, 1 is accepted

Sort by
0
IT-Als
Top achievements
Rank 1
answered on 26 Mar 2012, 11:08 AM
Hi Adeagbo,

As far as I know the only way to do it at the moment is to use the Fluent Mapping API.

By using the AggregateMetadataSource it is possible to merge metadata from different MetadataSources into one model.
Please check this link for an example.

Regards

Henrik
0
Adeagbo
Top achievements
Rank 1
answered on 26 Mar 2012, 05:03 PM
Thanks Henrik

I think I will have to have a close look at the fluent API.
0
Ivailo
Telerik team
answered on 28 Mar 2012, 09:26 AM
Hi Adeagbo,

Henrik is correct and this is probably the best way to split your model into manageable pieces.

You can also consider using the new Fluent Code Generation we are offering so that you can shorten the process of creating the initial mapping code with Fluent API. You can then delete the Visual Designer rlinq file and you can continue working with classes only (and maintaining them manually), to avoid the slowness of working with large models.

 

Kind regards,
Ivailo
the Telerik team
Telerik OpenAccess ORM Q1 2012 release is here! Check out what's new or download a free trial >>
0
IT-Als
Top achievements
Rank 1
answered on 30 Mar 2012, 06:26 AM
Hi Adeagbo,

If you found the answer useful please mark it as answered so that other visitors of the forum will find their answers easier.

@Ivailo:

Thanks for joining in on the Fluent Code Generation. This will be the absolute best way of doing it.
Once you have you initial model and get used to the Fluent style it is so much easier.

Regards

Henrik
0
Adeagbo
Top achievements
Rank 1
answered on 30 Mar 2012, 04:12 PM
Hi

Thanks for the info, I am current using the fluent API for the implementation of my ERP model.
I believe with the information I gathered from OpenAccess documentation on Fluent API, It should resolved the problem.

thank you. 
Tags
General Discussions
Asked by
Adeagbo
Top achievements
Rank 1
Answers by
IT-Als
Top achievements
Rank 1
Adeagbo
Top achievements
Rank 1
Ivailo
Telerik team
Share this question
or