Welcome to weblogs.com.pk Sign in | Join | Help

Browse by Tags

All Tags » LINQ   (RSS)

Real-world Entity Framework :: Generating Entities from Existing Database

Code First workflow is cool; but in real world; you don’t start from scratch every day! For such new cool things; often; you have to create space in existing projects and solutions. With Entity Framework 6; you can mix Code First’ DbContext and Model

Real-world Entity Framework :: Mixing DbContext and ObjectContext

Entity Framework 4 had the POCO (Plain Old CLR/C# Object) support; but it was almost non usable. Things kept improving; there was once POCO T4 template ( its walkthrough from ADO.NET team ) to generate POCOs from EDMX model. With different 4.x releases

Real-world Entity Framework :: Connection Strings

Entity Framework is nice addition to .NET developer toolbox; but like most of the things there are some tricks in using it in real-world. The first hurdle that I guess most of us face; having multiple models; but pointing to same database. The Visual

Entity Framework 4.x

Recently; got a chance to work on an old EF4/MVC3 app. The only constraint was to keep things in Visual Studio 2010 and deployable to IIS6/.NET4/SQL2005 etc. We decided to upgrade the project to the latest and greatest! We chalked out the features that

Delegates and Lambdas

Happy Eid Melad-un-Nabi! In my last post about Delegates and Generics , we had the following delegate to play with… delegate T ComplexDelegate<S, T>(S[] values); .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas,
Posted by khurram | 0 Comments
Filed under: ,

LinqDataSource - Video

View this 16megs video from Dan Wahlin ; in which he shows how easy things are with LinqDataSource! You get a filter; master/detail form and full editing/deletion/insertion; with almost no line of code! I personally dont like such declarative style programming;
Posted by khurram | 1 Comments
Filed under: ,

Linq 200605 CTP

LINQ's 200605 CTP is available...Simply awesome! I guess C# is taking a good lead comparing to Java, first properties/delegates/events, then better generics implementation, anonymous types and now lot of new cool things like Lambda expressions , extension
Posted by khurram | 0 Comments
Filed under:

DLINQ

Here is a simple web app using DLINQ. In case you are curious how to setup LINQ/DLINQ for web apps; read this ... For the DLINQ; you need to create a class decorating it with DLINQ attributes. I have created one such class below. Once you have all such
Posted by khurram | 0 Comments
Filed under:

LINQ in Web Applications

LINQ gets cooler when it can be used in web apps… Microsoft has just released RC1 of Web Application Projects (WAP) ; and with this; one can now use (*)LINQ in web projects. Here are the steps. Install WAP Download the LINQ Preview ; and install it in
Posted by khurram | 1 Comments
Filed under: ,