• .NET

    Upgrading OpenAccess Forward/Reverse Mapping Projects to Q1 2011 Fluent API and Visual Designer Projects

    Back in Q2 2010 Telerik OpenAccess ORM introduced an Upgrade Tool which converted projects created with the old Reverse Mapping Wizard to use the Visual Designer. Well, Q1 2011 introduces a much improved second version of this useful tool. What are the improvements? Unlike the previous version that supported reverse-mapped projects only, the new Upgrade Tool can convert projects built upon Reverse and forward-mapped projects. And the best part of it is that, besides the Visual Designer, is that it utilizes the updated full-featured Q1 2011 Fluent Mapping API to achieve this. To upgrade your existing project and continue your development with the...
    March 23, 2011
  • .NET

    Converting an Entity Framework Model to the OpenAccess Domain Model (Q1 2011)

    Now that Linq-to-SQL is not going to be developed any more, it seems developers are left with little choice as to what ORM to use for their next projects. The ADO.NET Entity Framework seems to have become the ORM of choice for most Microsoft developers, who want to address the impedance mismatch across various data representations, but although very good and quite powerful, it falls short on some important characteristics of modern-day development: Visual Mapper/Entity Designer with advanced capabilities; Lack of native support for databases different from SQL Server; Release cycle of 2-4 years; Advanced/dedicated technical support; No built-in caching layer; We are sure that code-first...
    March 21, 2011
  • .NET

    A simpler ObjectKey

    As existing users might have experienced , handling the identity of a persistent object in OpenAccess can get complicated at times especially when it comes to a type with composite identity fields. With an aim to simplifying this aspect we worked on the ObjectKey API to make it easier to comprehend and to use. This blog post describes the API in brief, it’s intended usage and how existing code can be migrated.   The ObjectKey The ‘ObjectKey’ is the new entry point for working with a persistent object’s identity. The ‘ObjectKey’ for a persistent object can be obtained form the runtime or if...
  • .NET

    Quering Spatial Data with OpenAccess in Q1 2011

    Starting with the 2011 Q1 release, OpenAccess supports development of applications that involve geometric or geographic data. For the sake of simplicity, this blog will focus on the use of SqlGeography with MSSQL 2008. Other databases (like Oracle) provide support for geometric and geographic data as well, but this shall be the topic of another blog post. Let's start with a simple model that has only two domain classes City and Country. Both classes should contain geographic information: the location of the City (as a point) and the polygon shape of the Country. Both domain classes then...
    March 17, 2011
  • .NET

    Different OpenAccess Versions Used in Development Process

    We hear a lot that migrating projects using OpenAccess to a new OpenAccess version is a complicated process. The first decision should be if you want to migrate each of your projects or if you want to stay for some of them with the old OpenAccess version. This post describes how to prepare your project so that an installation of a new OpenAccess version does not break your build or makes it necessary to use the new version in your older projects. The first step is to check-in all necessary runtime and compile time used resources instead of taking them from the...