Entity Data Model / EDM Example applicaiton in WPF

This blog post explains the an example application to demonstrate the ADO.NET Entity Data Model.

Development Environment :  Visual Studio 2010

Download : Source Code

The EDM wizard  of Visual Studio helps generate the base entity model, which can be modified later as per the need.

 SchoolEntities entities = new SchoolEntities();

   var q = from c in entities.Departments
                    select c;

List<Department> departmentList = q.ToList<Department>();

No comments: