Can't use/find info how to use Telerik Open Access Domain Model

3 posts, 0 answers
  1. kamakaze
    kamakaze avatar
    8 posts
    Member since:
    Jul 2007

    Posted 29 Apr 2010 Link to this post

    I am stuck with OA Domain Model. I watched all tutorials and I read the manual, but it looks like almost all of your examples are made with the old style 'Enable project to use ORM...' - For example the product documentation includes a good example: 'Quick Start (your First application)' but unfortunately it uses the old style and I can't activate ORM because VS says that I can't use 'project enable' and Open Access Domain Model at the same time!

    So please explain to me (step-by-step) how I can access my data with my WPF solution where I tried to use my DLL library that has my .rlinq model. I can't add ObjectScopeProvider to my library for the reason what I explained earlier in this ticket. How can I use that data then?

    It would be nice to soon get some video tutorial with that Visual Designer because these Reverse/Forward mapping things are quite obsolete nowadays with that cool Visual Design style Domain Modeling.

    Did I just miss the right place where all that information is?

    BTW - When does that Designer start working with VS 2010 (you have given an estimate that it would be this week - is that valid anymore?)

  2. kamakaze
    kamakaze avatar
    8 posts
    Member since:
    Jul 2007

    Posted 29 Apr 2010 Link to this post

    Two more specific questions to help you answer:
    1. I suppose I have to add ObjectScopeProvider somewhere - but where? To the data access library or to the application that uses the library?
    I suppose that I can't add in the library so question 2. Assuming that it needs to be added to the application that uses the library, where should it be added and with what settings?
    If I use DAL mode when I activate ORM with the application that uses the library, it creates an OSP for that but then it uses a direct connection to DB and does not use my data access library's entity model.
  3. DevCraft banner
  4. Serge
    Serge avatar
    375 posts

    Posted 30 Apr 2010 Link to this post

    Hi kamakaze,

    First of all it is great that you like our new Domain Model approach and I apologize for the lack of documentation at the moment. We are working on an improved set of code libraries and knowledge base articles as well as an revised documentation. 

    Fortunately we have a Code Library example that targets working with WPF and the OpenAccess Domain Model. You can find it here. Basically you need to create a class library, add the Domain Model and configure it. Reference it from your consumer project and add the connection string to the referencing project. 

    Then you can instantiate a new Context and use it as a base for queries. This example will be a good starting point for you. If do however have more question do not hesitate to contact us. 

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top