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

Questions about what modules need the enhancer applied?

2 Answers 12 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kendall Bennett
Top achievements
Rank 2
Kendall Bennett asked on 14 Jul 2011, 01:00 AM
Do I need to make sure the enhancer is run as part of the build process for any code that might directly interact with the entities in my model, or just the library that contains my entities themselves?

All my entities are inside an ORM dll called DataAccess.ORM.dll, and all the business logic is in another DLL called DataAccess.dll that relies on the ORM dll to get access to the data. So does the enhancer need to be run on both DLL's, or just the ORM dll? What about my web site DLL's which only use the DataAccess.dll library and never directly call into the ORM dll, but they might interact with some of the entities from the ORM dll? Does it also need the enhancer run on it?

2 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 14 Jul 2011, 08:04 AM
Hello Kendall Bennett,

You need to run the enhancer only for the assembly containing the persistent classes. The other projects that are only using the persistent classes need to reference the OpenAccess assemblies but should not be enhanced.
The goal of this enhancement is to inject some code in the persistent classes after they are compiled, so that they can be managed by OpenAccess and their changes can be tracked, but without the need of having this code permanently in the cs/vb files.

All the best,
Alexander
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Kendall Bennett
Top achievements
Rank 2
answered on 14 Jul 2011, 10:26 PM
Ok thanks!
Tags
Design Time (Visual Designer & Tools)
Asked by
Kendall Bennett
Top achievements
Rank 2
Answers by
Alexander
Telerik team
Kendall Bennett
Top achievements
Rank 2
Share this question
or