How Do I: LINQ to SQL: Updating the Database

In this video I demonstrated how to create, update and delete records through LINQ, simple transactions, updates across relationships, and custom column and row validation.

Presented by Scott Stanfield

Duration: 17 minutes, 16 seconds

Date: 15 November 2007

Watch the video   |   Download the video   |   Get the code

Video downloads: WMV | Zune | iPod | PSP | MPEG-4 | 3GP

Audio downloads: AAC | WMA | MPEG-4 | MPEG-2

Comments : 12

Leave a Comment

ShaunO : On March 26, 2008 10:11 PM said:

Nice video, bonus with your kid walking in asking to use your computer :D!

ramah : On March 27, 2008 4:53 AM said:

nice video. thank you

rtisserand : On March 27, 2008 10:56 AM said:

Would it be possible to get a VB version of this video?

dotNetNewbie : On April 21, 2008 6:11 AM said:

Hi Scott,

Thank you for your great video. I'm following each one of them to start learning Linq.

In this video here, when you extend the class Order(public partial class Order) the intellisense doesn't work, and the namespace System.Data.Linq.ChangeAction is not recognized. It compiles right but qhen i run the project gives the following error message:

CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)

However, in the NorthWind.designer.cs the method recognizes the namespace...

partial void OnValidate(System.Data.Linq.ChangeAction action);

Can you tell me of something is missing?

Best regards,

Manuel

kteepl : On June 06, 2008 11:24 AM said:

VB PLEASE!!

McGuire : On June 06, 2008 5:50 PM said:

I agree.  Will the next several be done in VB at some point?

vasireddybharath : On June 23, 2008 10:28 PM said:

This is very nice to have. Its just like readymade....

Good stufffffffffffff......

Thnks

Bharath Reddy VasiReddy

satishnarni : On July 24, 2008 5:56 AM said:
satishnarni : On July 30, 2008 7:40 AM said:

this is nice

http;//mysearchyard.googlepages.com

cv_vikram : On August 14, 2008 6:26 PM said:

thanks....

djdenni : On August 19, 2008 6:20 PM said:

Does anybody know how to convert the following code to VB?

var r = from p in db.Products

       where p.UnitPrice > 15 &&

       p.Order_Details.Sum(x => x.Quantity) < 200

       select p;

Thanks, Dave

S.Pirashanth : On August 28, 2008 3:00 AM said:

Many thanks for the great videos

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Featured ASP.NET 3.5 Web Hosting


Featured ASP.NET 3.5 hosting offer from AppliedI.net

Click Here To Learn More...

Page view counter
Microsoft Communities