Category Archives: Linq to Entity

Migrating EF4 to EF4.5

If you do have a previous class that uses entity framework in visual studio 2010. Then you need to create the same class using visual studio 2012. When you try to copy and paste into the new class. Then compile … Continue reading

Posted in C# 4.5, Entity Framework 4.5, Linq to Entity | Leave a comment

Optimize performance of your Entity Framework 4 on Client Side

If you want to improve the perforamance of your entity framework in client side, you can use Cache fromSystem.Web.Caching.Cache object. If you like to reset values, Cache.Remove(“Name of your Cache”); If you wish to store the value to a cache,if … Continue reading

Aside | Posted on by | Leave a comment

How to create reports (rdlc) and load inside report viewer?

This blog will show you how to create report (rdlc not rdl) and display inside report viewer not thru browser. This post also shows you on how to use entity framework as a data source. Step 1 – Find and … Continue reading

Posted in .NET Framework 4, C# 4.0 AND ASP.NET 4.0, Linq to Entity, RDLC, Report Viewer, Reporting Services 2008 | Leave a comment

Using ReportViewer in ASP.NET 4.0 and Entity Framework

To bind a data source to a reportviewer: Add this line after <%@ Page … , <%@ Register Assembly=”Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” Namespace=”Microsoft.Reporting.WebForms” TagPrefix=”rsweb” %> … <rsweb:ReportViewer ID=”ReportName” BorderStyle=”Solid” BorderColor=”Gray” BorderWidth=”1px” runat=”server” Font-Names=”Verdana” Font-Size=”8pt” InteractiveDeviceInfos=”(Collection)” WaitMessageFont-Names=”Verdana” WaitMessageFont-Size=”14pt” Width=”100%” Height=”470px”> <LocalReport … Continue reading

Posted in .NET Framework 4, C# 4.0 AND ASP.NET 4.0, Linq to Entity, Visual Studio 2010 | Leave a comment

How to create CRUD using Linq to Entity in ASP.NET 4?

In this project, I use Microsoft Visual C# 2010 Express Edition and Microsoft Visual Web Developer 2010 Express Edition You need to create a class library project first. Then create a ADO.NET Entity Framework, then create a class and interface … Continue reading

Posted in .NET Framework 4, C# 4.0 AND ASP.NET 4.0, Linq to Entity | Leave a comment

How to apply CRUD and linq to entity on gridview using ASP.Net 3.5?

Before you start, you need the following software or installer: Visual Studio 2008 Professional Edition/ Team System Edition Visual Studio 2008 Service Pack 1 .NET Framework 3.5 .NET Framework 3.5 Service Pack 1 Windows 7 or Windows XP You need … Continue reading

Posted in ASP.NET 3.5, ASP.NET 3.5 And C# 3.5, C# 3.5, C# 3.5 and ADO.NET Entity Framework 3.5, Linq to Entity | Leave a comment

How to create an ADO.NET Entity Framework Model in .NET 3.5 Framework?

Here are the software/installer that you need before using ADO.NET Entity Framework: Visual Studio 2008 Professional Edition/Team System Edition .NET Framework 3.5 Microsoft SQL Server 2005 .NET Framework 3.5 Service Pack 1 Visual Studio 2008 Service Pack 1 Second, Create … Continue reading

Posted in C# 3.5 and ADO.NET Entity Framework 3.5, Linq to Entity | Tagged , | Leave a comment