Telerik blogs

Latest

  • 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 11, 2010 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 10, 2010 2 min read
  • Productivity Testing

    Test Results Management and Analysis in WebUI Test Studio QA Edition

    I started the series of blog posts on the new QA Edition of WebUI Test Studio 2010 with the Test List Management. In the current article I’m describing the Test Results Management and Analysis capabilities of the brand-new standalone tool. The Result View The test list execution in the QA Edition produces the objects we call Run Results. One can review and manage those results in the Results View:   The Results View in the Standalone represents the run results via RadScheduler. Once you execute your test list we switch to the Results View adding the new result into ...
    May 06, 2010 4 min read
  • Productivity Reporting

    Dynamically Loading Telerik Reports with MEF

    So I've been spending some time lately learning to use one of the powerful new features of .NET 4.0, the Managed Extensibility Framework (MEF). Using MEF, I thought it would be neat to create an application that allows you to dynamically load Telerik Reports from an assembly without having to recompile your application. Here is how I set it up. Contracts When setting this application up, I wanted to be able to define contracts on my reports so that I could import them into a ReportManager class when the application starts up. However, I didn't want my report objects to be ...
    May 05, 2010 2 min read
  • Productivity

    Dynamic Sorting of Reporting Crosstabs Using a Custom Aggregate Function

    Customers often ask questions about how to sort the rows of a table or a crosstab by a specific column, when the column is chosen dynamically according to a certain criteria or specified directly by the end user. This can be trivially accomplished for a table, because the exact number and names of the individual columns is previously known and fixed. In most cases it is simply a matter of specifying an appropriate sorting expression to the table. On the other hand, sorting a crosstab by a specific column is not so simple to accomplish. The crosstab generates its rows and...
    April 29, 2010 8 min read