Telerik blogs
  • Release

    New Demo Web Site for Telerik OpenAccess ORM

    One of the most demanding tasks we always had at the Telerik OpenAccess ORM team, is to demonstrate to our customers and the whole ORM community the capabilities that our product possess. They say a demo is worth 1000 words. I can’t agree more with that. In the case of our product though I would like to add: a video is worth at least for 10 demos. That is the reason why we built a brand new video-oriented web site where we have carefully described each of the most important features (and their count is growing) and all the effort necessary for...
    May 27, 2021 2 min read
  • Productivity

    Using Connection Strings with Telerik OpenAccess ORM

    As you might already found out, with the 2009 Q3 release of Telerik OpenAccess ORM we made the first step of providing an easier and more natural way of defining database connection settings for your applications. In other words, OpenAccess now supports standard ADO.NET connection strings. The aim of this post is to brief you how to use them with the product. To use Telerik OpenAccess ORM in a Visual Studio project, you should run the Enable project wizard first. A detailed article on how to use the wizard can be found in our documentation. Let’s just see what is new in this release....
    May 27, 2021 2 min read
  • Web

    How to display data from different tables using one data source

    In many cases our customers that use Telerik OpenAccess ORM face the need to rapidly change the source table from which they are displaying data. For example you can have a RadGrid filled with customers on the start of your application and whenever a certain customer is selected you can change the displayed data in the grid with the Orders for the given customer (note that in such case the data will be taken from two different tables – Customers and Orders). But do you need two datasource controls to do this? The simple answer is NO. You can achieve this...
    May 27, 2021 2 min read
  • Productivity

    How to map references and collections – Part 1

    The references in the object model and the references in the database schema can be defined in several ways. The definitions are following different idioms and it is not straight forward how a mapping can be defined. In the database schema you have the foreign key reference; in the object model you have single references, collections and dictionaries. Let’s look at a simple schema in the database, the Persons table has a foreign key reference to the Addresses table. There are now 3 ways to map this in OpenAccess. 1. You can map it to a reference field which is the...
    May 27, 2021 3 min read
  • Productivity

    LINQ tip of the week: Upcoming System.Math support

    Continuing with the LINQ tips, today we provide a list of System.Math methods that we are going to support with the upcoming Q3 release. The following table shows the supported methods; when no indication is given, all the overloaded (double,decimal,...) versions will work. Abs Min Max Acos, Asin, Atan, Atan2 Cos,Sin,Tan Cosh, Sinh, Tanh Sqrt Power Trunc Exp Log(double) Log10 Ceil Floor Round (*) Sign   (*) Only the Round(double) and Round(x,y) methods where y!=MidpointRounding are supported.   That means, you can push now many more calculations to the database server. Be aware however, that using the database server engine might produce different results than would be calculated when the CLR is used; e.g....
    May 27, 2021 1 min read