Telerik blogs
  • Release

    Upgrading to Service Pack 1 Q1

    Yesterday (the 27th of May) we released the Telerik OpenAccess ORM Service Pack 1 and with it we introduced full support for Visual Studio 2010 as well as integration of the Data Services Wizard into the product and a beta provider for the RIA services (you can read more in the release notes). There are however some things we need to note. There were some installation-related problems reported already by some of our customers. In some of the cases the Domain Model template was not available in the Add New Item dialog. In others after finishing the Add New Item Wizard the new items...
    May 27, 2021 1 min read
  • Productivity

    Revised Code Library projects

    In order to provide a better usability with the 2010 Q1 release we introduced the new Visual Designer for Telerik Open Access ORM. We have been focusing on what we can do to improve your experience using OpenAccess. We have also introduced the new Context replacing the Object Scopes and various types of mappings used to define our model (currently only in reverse mapping scenarios). This being a major change we felt we needed to revise our Code Library assets and show you how to use OpenAccess to its full potential. Below is a list of the revised examples : ·...
    May 27, 2021 1 min read
  • Productivity

    Using user-defined methods in a LINQ query

    As you are aware, for a given LINQ query Telerik OpenAccess ORM tries to push the query parts to the server as far as possible. Doing so minimizes the amount of data fetched from the server. For example, consider this very simple query that fetches all discontinued Product entities from the Northwind database. var query = from p in scope.Extent<Product>()             where p.Discontinued             select p;   The generated SQL statement would similar to -...
    May 27, 2021 2 min read
  • Productivity

    Telerik OpenAccess ORM Concurrency Control

    Telerik OpenAccess ORM provides you with a mechanism to handle the Concurrency control. Concurrency control is the management of contention for data resources. It ensures that the transactions are executed following the ACID rules. There are two concurrency control schemes: pessimistic and optimistic. A concurrency control scheme is considered pessimistic when it locks a given resource early in the data-access transaction and does not release it until the transaction is closed. A concurrency control scheme is considered optimistic when locks are acquired and released over a very short period of time at the end of a transaction. The Telerik OpenAccess supports several modes for Concurrency...
    May 27, 2021 2 min read
  • Productivity

    Validating Your Domain Model

    With the Q1 Release of the Telerik OpenAccess ORM we introduced the new Visual Designer for OpenAccess. In a nutshell it’s a drag-and-drop editor that visualizes the mapped classes and their relationships. It is a great improvement and people are often stunned by it. One of the coolest features that it presents though is often overlooked. OpenAccess gives you the possibility of validating your model. Note that this is extremely helpful due to the fact that you are able to build your solution with an invalid model and then get errors in the runtime. On top of that it also suggests...
    May 27, 2021 2 min read