Visual Studio 2008 SP1: EntityDataSource for ASP.Net EntityDataSource is a new DataSource control for ASP.Net (just like ObjectDataSource and SQLDataSource and more recent - LinqDataSource) which makes declaratively binding ASP.NET UI controls to Entity Data Models very easy. In this post I will build a simple web application that uses EntityDataSource in order to demo how it is being used. 1. Create a simple Web Application, and create an initial GridView on it. < body > < form id ="form1"...
ADO.Net Data Services Part 1 - Building a Simple Web Data Service This post is part of my Get Started with ADO.Net Data Services post series. This post is a step by step guide for building a Simple Web Data Service for the Blog database I posted in the last post . 1. Create a new standard ASP.Net Web Application . Notice that there is no special project template for a Web Data Service, and later we will see the new item template. In this guide, I called my web application BlogWebApp . 2. Create...
How To: Model Inheritance in Databases Playing with some Object Relational Mapping technologies these days such as Linq to SQL and ADO.Net Entity Framework , one of the capabilities that is important to check is which strategies of inheritance modeling is supported by each technology. This post talks about how to model inheritance in the database, regardless the technology that we will use later to talk to the database. Assuming that the business entities look somewhat similar to this: There are...