Always generate explicit ID class with Domain Model

Thread is closed for posting
2 posts, 0 answers
  1. egoren
    egoren avatar
    12 posts
    Member since:
    Apr 2009

    Posted 17 Dec 2010 Link to this post

    we are currently using the 'Classic' OA and we are evaluating the migration Domain Model.
    currently, we are using the above (Always generate explicit ID class) feature in order to have a consistency for all our domain classes.
    I cannot find the equivalence in the new version (Domain Model Q3 2010).
    This is a big issue since in our business logic we are referencing classes by their ID class.
    Any help will be appreciated. Eyal. 
  2. Alexander
    Alexander avatar
    727 posts

    Posted 21 Dec 2010 Link to this post

    Hi Eyal Goren,

    This option is not available in the designer. Actually at the moment we are working on the area of identity handling and you might not be happy to read this but our plans are to remove the requirement for ID class generation. Both single or multiple-field identities will be handled internally. This way we will avoid a lot of limitations that were caused by the usage of ID classes. Of course, the already generated classes will continue to work for backward compatibility.
    Having this in mind, if you would like to migrate to a domain model it would be better if you can avoid the dependency to the ID classes. If you have any doubts how to achieve that, please give us some details about your scenario and how you are using the ID classes, we will do our best to provide you with a solution.

    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
Back to Top