Telerik blogs

Latest

  • Productivity Testing

    Testing.StackExchange – The “StackOverflow” for Software Testers

    No doubt StackOverflow.com became a great resource for software developers. As a tester though, I’ve been looking for a good Q&A tester oriented alternative for a long time now. That’s why I really enjoyed the news about Testing.StackExchange site availability. It actually shares the same successful technology as Stack Overflow and has the potential to become as helpful as its brother is. Although it’s still new, I’ve already found some great experts in the software testing field not only signed-in but actively contributing. Credits go to Mr. Justin Hunter who announced the site several weeks ago. Thanks also to Alan ...
    May 27, 2021 1 min read
  • Productivity

    Connecting to SQL Azure with Telerik OpenAccess

    digg_url = "http://www.stephenforte.net/PermaLink,guid,b4b60e8a-953b-4cc6-b517-2b30ca985a42.aspx";digg_title = "Connecting to SQL Azure with Telerik OpenAccess";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; With the official release of SQL Azure less than three weeks away, we are starting to see mainstream vendor support for SQL Azure. Telerik’s OpenAccess ORM is no exception. With the Q3 release of OpenAccess next week, OpenAccess will have full support for SQL Azure, going further than the basic support available today that I demonstrated on my blog last month. Full wizard support, forward and reverse mapping, and of course data services support via the Telerik Data Services Wizard. Let’s take a look at the basics here. Getting Started To get up and running and show the mapping and LINQ support, I will open Visual Studio 2008 (or 2010) and create a simple Console...
    May 27, 2021 3 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
  • Productivity

    Migrating data from one database server to another

    In today’s post we are going to discuss a topic which is known to be fairly complex in most cases but it is relevantly easy to be achieved with Telerik OpenAccess ORM. Let us consider the following scenario: your company decides to move your data access from one database server to another.  So you have your database in a MSSQL Server instance  and want to migrate to MySql. The schema is the same on both servers but the data resides inside  the MSSQL Server instance. What follows is the easiest way to move all the data from the MSSQL server database to...
    May 27, 2021 2 min read