Linking OpenAccess Domain Models

5 posts, 0 answers
  1. Bryan
    Bryan avatar
    6 posts
    Member since:
    Feb 2011

    Posted 08 Mar 2012 Link to this post

    Hello,

    I have designed an OpenAccess Domain Model that enables functionality in my database schema that I would like to be able to use across multiple applications and databases.  In other words I've defined a set of tables and stored procedures that provide a feature for multiple applications that I have created an OpenAccess Domain Model to interact with that I want to reuse.

    Currently when I create a new project that will utilize this functionality I have to take a copy of my existing model and then add the business logic for the application on top of it.  This causes my application feature model to be bound to the business logic model.  This will cause issues in the future because when I need to add features and provide fix bugs in the feature model because I will then have to update all of the models I based off of the original application feature model.

    What I would like is the ability to create associations between two or more existing OpenAccess Domain Models or create model inheritance.  For creating associations between models it would be great if two or more models could be linked together so that they could reference each other’s entities and create associations between keys.  The model inheritance I envision working like base classes and derived class’s functionality.  Either implementation would be great but I feel the linking of models with associations would be best because it would allow more than two models to be tied together whereas the inheritance model would only allow a base and derived model.

    My end goal is that I envision having a collection of OpenAccess Domain Models, each satisfying specific functionality in my applications like a collection of class libraries does now in the .NET environment.  For example I could have a UserAuthentication model with a User entity and WebForum model with a Thread entity.  Ideally when the user creates a new Thread you would want to associate the User entity with the Thread.CreatedByUser property in the database.  This is easy enough to accomplish if all of the entities are in a single model but with linked models the UserAuthentication model could partitioned out of the main model and be reused in multiple applications.

    I'm sure you can see where I am going with this idea and its potential benefits so I have two questions I'm hoping you can answer:

    One, can this type of functionality be implemented in the current release of OpenAccess ORM, and if so can you provide an example how to do so?

    Two, if this cannot be done currently do you think this is a feature that could be added in a future release of OpenAccess ORM?

    Thank you,

    Bryan Farrell

  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 09 Mar 2012 Link to this post

    Hello Bryan,

    Unfortunately at the moment this is not possible with OpenAccess. We have plans to provide such functionality in the future, however we have not scheduled it yet and this means that it would not be implemented earlier than the Q3 2012 release (at the end of this year).

    All the best,
    Alexander
    the Telerik team
    Telerik OpenAccess ORM Q1 2012 release is here! Check out what's new or download a free trial >>
  3. DevCraft banner
  4. Bryan
    Bryan avatar
    6 posts
    Member since:
    Feb 2011

    Posted 09 Mar 2012 Link to this post

    Hello Alexander,

    Thanks for getting back to me about this.  I am glad to here that you have plans to implement this functionality in the future.  I look forward to being able to use these features in future releases.

    Thank you,

    Bryan
  5. Bryan
    Bryan avatar
    6 posts
    Member since:
    Feb 2011

    Posted 25 Sep 2012 Link to this post

    Hello Alexander,

    I just wanted to follow up on this question and see if you were able to implement this in the Q3 2012 release?  If not is this feature scheduled in your 2013 roadmap or is it still unscheduled functionality for a future release?

    Thank you,

    Bryan
  6. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 28 Sep 2012 Link to this post

    Hi Bryan,

    Unfortunately we have not started working on this functionality yet.
    The 2013 roadmap is not completely decided at the moment but I expect that we will work on this for Q2 or Q3 next year. We will have to do considerable refactoring on the infrastructure of the designer, so we will need to allocate more time for the implementation.

    Regards,
    Alexander
    the Telerik team
    Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
Back to Top
DevCraft banner