Telerik blogs

Latest

  • Productivity

    OpenAccess Quick Start for Oracle using the Visual Designer

    Introduction This blog post demonstrates how to set up a Telerik OpenAccess ORM project for use with Oracle databases. We will use the Visual Designer to design our domain classes and then generate the corresponding Oracle database schema. Install ODP.NET Telerik OpenAccess ORM uses the ADO.NET (Oracle.DataAcces.Client) Provider from Oracle called ODP.NET. This can be downloaded from the Oracle Website. The way to your model Create a new solution in Visual Studio and add a new project of the type ‘Class Library’.   After creating the ‘Class Library’ our next step is to create a domain model. To do this we use the ‘Domain...
    June 01, 2011 4 min read
  • Productivity Testing

    Generating Documentation with JustCode

    If you enjoy writing documentation from scratch, this article may not be for you. If you like removing as much repetitive work as possible, then JustCode can help you out. Aside from aiding in this endeavor with code, it also addresses code documentation. There are two primary features in JustCode I will discuss. The first is Generate Documentation which handles the XML comments for methods and types. The second is a new feature, Introduce Header, which was made available on May 3rd with internal build 1. Generate Documentation I like self-documenting code. I write short, descriptive methods intended for anyone to be...
    May 27, 2011 4 min read
  • Productivity

    Parameter Refactorings in JustCode

    The internal build 1 of JustCode comes with three new refactorings to easily manipulate method parameters. Move to Parameter There are times when one has hardcoded a constant value within the body of a method, but the method would have more flexibility if the value were a parameter instead. This refactoring allows you to move the variable to a parameter, and it will automatically update calls to the method with the defined value for the variable.   class Program{ static void Main(string[] args) { Ninja ninja = new Ninja(); ...
    May 25, 2011 2 min read
  • Productivity

    The Query Result Cache

    Quite some time ago we touched upon the details of the caches maintained by Telerik OpenAccess ORM in the these 2 blog posts – First Level Cache, Second Level Cache.  In this post we will provide some more information about the ‘Query result cache’ which is held as a part of the 2nd Level Cache.   What is the Query Results Cache ? When you execute a LINQ query to fetch some objects from the database there are quite a few things that take place in the background before you actually get back the result. Let’s list some basic actions that are...
    May 17, 2011 4 min read