Telerik blogs

Latest

  • Productivity

    Looking at the Telerik OpenAccess ORM Visual Designer Toolbox

    The Telerik OpenAccess ORM Visual Designer provides toolbox items that one can use to update and fine tune the persistence model and how the entity classes will behave. Inheritance - like other objects, the mapped entity classes can be used in inheritance scenarios and can be derived from other classes. The Telerik OpenAccess ORM provides the power of inheritance to the data access layer. Classes in an inheritance hierarchy can be mapped to the same table (flat mapping) or to different tables (vertical mapping and horizontal mapping), or a combination of two strategies (mixed flat and vertical). The Telerik OpenAccess ORM Visual...
    May 27, 2021 2 min read
  • Productivity Reporting

    Using Telerik Reporting in a WPF application

    Now that Telerik Reporting provides WPF support, let's see how to use it (a video on this topic is available as well): Creating the application Install RadControls for WPF 2010 Q1 SP1 (download | release notes). Install the corresponding Telerik Reporting version. Create a new WPF application project in Visual Studio Add references to the following Telerik RadControls for WPF assemblies: Telerik.Windows.Controls Telerik.Windows.Controls.Input Telerik.Windows.Controls.Navigation Telerik.Windows.Data NOTE: It is possible that the RadControls for WPF assemblies have a greater version than the one against which the WPF Report Viewer control was built. In this case you have to add appropriate assembly binding...
    May 27, 2021 2 min read
  • Productivity

    Telerik OpenAccess ORM and the XML Metadata Source

    We all know that Telerik OpenAccess ORM has a completely new face with the Q1 2010 release so it is about time to start blogging about some of the features and improvements that the new Visual Designer brought along.  Today I will talk about one of the most notable changes in the new version of OpenAccess ORM and that is the “XML – only” mapping. You all know that so far with the previous versions of the product the mapping information was defined by a mix of XML configuration files and CLR attributes. After a lot of customer feedback and...
    May 27, 2021 3 min read
  • Productivity

    Asserting with JustMock

    In this post, i will be digging in a bit deep on Mock.Assert. This is the continuation from previous post and covers up the ways you can use assert for your mock expectations.
    May 27, 2021 4 min read
  • Productivity

    Dynamic filter expressions in an OpenAccess LINQ query

    We had some support questions recently where  our customers had the need to combine multiple smaller predicate expressions with either an OR or an AND (these will be the || and && operators if you are using C#) logical operator. And because the code from the answer that we sent to these customers is very interesting and can easily be refactored into something reusable we decided to write this blog post. The key thing that one must know is that if you want your predicate to be translated by OpenAccess ORM to SQL and executed on the server...
    May 27, 2021 2 min read