Skip Navigation LinksHome / Community & Support / Code Library / Telerik OpenAccess ORM > General and Integration Projects > Using Telerik OpenAccess ORM and WPF

Not answered Using Telerik OpenAccess ORM and WPF

Feed from this thread
  • Posted on Mar 26, 2010 (permalink)

    Requirements

    Telerik OpenAccess ORM

    2010.1.414.3
    Telerik RadControls for WPF

    2010.1.309.35
    .NET version

    3.5 SP1
    Visual Studio version

    Visual Studio 2008
    Programming language C#
    Browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION

    In the provided example is demostrated how to use a Telerik OpenAccess ORM domain model within a WPF application. The example uses a MVVM architecture.
    The Model-View-ViewModel (MVVM) is an architectural pattern used in software engineering.

    Key Highlights:
        -  Model - refers to the data access layer representing the real state content;
        -  View - refers to all elements displayed by the GUI;
        -  ViewModel - an abstraction of the View that also serves in data binding between the View and the Model;
        -  Repository pattern -   methods for retrieving and manipulating entities;
        
    Requirements:
        -   Northwind database;

    UPDATE:The most recent version of this project can be found in the Software Development Kit, which you can download here. In case you have questions related to this project, please use the support ticketing system.

  • terry avatar

    Posted on Jul 12, 2010 (permalink)

    When I try and open the NorthwindApplication.xaml file I get the following errors
    Error 3 The type 'Model.Category' cannot be used as type parameter 'TEntity' in the generic type or method 'ViewModel.Repository<TEntity>'. There is no implicit reference conversion from 'Model.Category' to 'Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable'. C:\Users\THamaluk\Downloads\Telerik\OpenAccess\wpfmvvmusingopenaccess\ViewModel\CategoryViewModel.cs 22 54 ViewModel
     
    the code that causes these errors is

     

     

    public CategoryViewModel()

     

    {

     

    this.repositoryCategory = new Repository<Category>();

     

     

    this.repositoryProduct = new Repository<Product>();

     

     

    this.Load();

     

    }
    with "Category" and "Product" causing the above error. Can you please help me correct these errors ?

  • Damyan Bogoev Damyan Bogoev admin's avatar

    Posted on Jul 13, 2010 (permalink)

    Hi terry,

    You should use the Check settings wizard to update the project. Please refer to this article for more details.

    Regards,
    Damyan Bogoev
    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

  • Posted on Dec 31, 2010 (permalink)

    What about the same implementation for SL4 applications.
    My project is the same as taskit application have a look here
    http://blogs.telerik.com/rosswozniak/posts/10-03-15/introducing_task-it_a_real-world_application_using_radcontrols_for_silverlight_4.aspx

    I have added the .rling file to the .web project now I can't referance the OA context class from my silverlight project.

    What should I do ... how can I referance it from my silverlight application ?

    Best regards
    Waleed

  • Damyan Bogoev Damyan Bogoev admin's avatar

    Posted on Jan 3, 2011 (permalink)

    Hello Telerik Admin,

    You could download the Telerik OpenAccess SDK(blog post) that we introduced in Q3. The SDK browser ships rich set of examples including implementation of Silverlight application using MVVM.
    You could find it from your account under the download section.
    Hope that helps.

    Greetings,
    Damyan Bogoev
    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.

  • terry avatar

    Posted on Jan 10, 2011 (permalink)

    I was able to download, build and run this sample, however is there any documentation that explains how it works ?

    Are there any other ORM and WPF MVVM samples ?

  • Damyan Bogoev Damyan Bogoev admin's avatar

    Posted on Jan 10, 2011 (permalink)

    Hi Telerik Admin,

    1.    Currently we do not provide documentation about the examples shipped with the Telerik OpenAccess SDK.
    2.    You could find this help section useful. It demonstrates how to use Telerik OpenAccess ORM with WPF.
    If any other question arise please contact us back.

    Greetings,
    Damyan Bogoev
    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.

  • Damyan Bogoev Damyan Bogoev admin's avatar

    Posted on Jun 13, 2011 (permalink)


    The most recent version of this project can be found in the Software Development Kit, which you can download here. In case you have questions related to this project, please use the support ticketing system.

    All the best,
    Damyan Bogoev
    the Telerik team
    Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / Telerik OpenAccess ORM > General and Integration Projects > Using Telerik OpenAccess ORM and WPF