Geeks With Blogs
Han Cheng C#, ASP.NET, Microsoft Technologies October 2009 Entries
CRUD operations using LINQ
I will use the AdventureWorks database to demonstrate how to perform CRUD operations using LINQ. You can use LINQPad (a free tool) to execute your C# statements without going through the hassle of writing a program using Visual Studio 2008. Launch LINQPad, add your SQL Server Connection and select AdventureWorks as the Database. Remember to select C# Statement(s) as the Language Type. Create Record 1: Department newDept = new Department()2: {3: Name = "Consulting",4: GroupName = "Consulting",5: ModifiedDate ......

Posted On Saturday, October 31, 2009 9:51 PM

Copyright © Han Cheng | Powered by: GeeksWithBlogs.net