Telerik blogs

Latest

  • Productivity

    Using WCF with SQL Azure and Telerik OpenAccess

    digg_url = "http://www.stephenforte.net/PermaLink,guid,d5967a42-df98-4c12-9604-d788928f4b41.aspx";digg_title = "Using WCF with SQL Azure and Telerik OpenAccess";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; Microsoft’s SQL Azure database offering has great 3rd party support. This week Telerik is releasing its Q3 version of its entire product line and the OpenAccess ORM will have more robust and native support for SQL Azure over what is currently available. I will expand on the example I did last week on connecting to SQL Azure by showing how to work with OpenAccess entities via WCF in a Silverlight application. The fist thing that you have to do is create a project for your data access layer and connect to SQL Azure. I started a new class library and used the Enable Project to use ORM wizard. This is where you...
    May 27, 2021 6 min read
  • 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