Wanted: Good LINQ tutorial

  • Thread starter Thread starter Siegfried Heintze
  • Start date Start date
S

Siegfried Heintze

I'm trying to follow the tutorial at
http://dotnetslackers.com/articles/csharp/IntroducingLINQ2.aspx.

However the link to download March CTP Visual Studio Orcas does not work and
I don't understand DAL.

After doing the "Add new Items"->"Linq to SQL file" I dragged and dropped
all the tables from Northwind into the nice GUI and observed the nice arrows
for the one-to-many relationships.

Now what? How do I get the C# code for these nice tables?

Thanks,
Siegfried
 
Siegfried Heintze said:
I'm trying to follow the tutorial at
http://dotnetslackers.com/articles/csharp/IntroducingLINQ2.aspx.

However the link to download March CTP Visual Studio Orcas does not work
and I don't understand DAL.

After doing the "Add new Items"->"Linq to SQL file" I dragged and dropped
all the tables from Northwind into the nice GUI and observed the nice
arrows for the one-to-many relationships.

Now what? How do I get the C# code for these nice tables?

Visual Studio Orcas March CTP is a technical preview of Visual Studio 2008.
This should be March 2007, which, by my guestimation, is 3 years ago. Why
not download the latest 2008 Express bits and use them.

To best learn LINQ, think in LINQ. One great way to do this is download
LINQpad and use it for your queries.

--
Peace and Grace,
Greg

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

************************************************
| Think outside the box! |
************************************************
 
I was afraid of that. I have Visual Studio 2008 Standard Edition.

I just tried to download and execute both "the download LINQPad.exe" and
"the low-impact setup.exe".

I got this error:

System.TypeInitializationException: The type initializer for
'LINQPad.UI.QueryControl' threw an exception.

at LINQPad.UI.QueryControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()

INNER EXCEPTION:
System.IO.FileLoadException: Could not load file or assembly
'ActiproSoftware.SyntaxEditor.Net20, Version=4.0.277.0, Culture=neutral,
PublicKeyToken=21a821480e210563' or one of its dependencies. Exception from
HRESULT: 0x80131052

at LINQPad.UI.QueryControl..cctor()

OK, this is the wrong forum for these problems. Can anyone point me to a
visual studio 2008 LINQ tutorial that can show me how to use that nice GUI
you get when you drag the tables from the Northwind database?
 
Hey Siegfried,

Regarding that LINQPad error, I've had a number of people report this anonymously and I'd like to track it down. Can you submit the error report again with your e-mail address please?

Thanks!
Joe
LINQPad



Siegfried Heintze wrote:

I was afraid of that. I have Visual Studio 2008 Standard Edition.
11-Apr-10

I was afraid of that. I have Visual Studio 2008 Standard Edition.

I just tried to download and execute both "the download LINQPad.exe" and
"the low-impact setup.exe".

I got this error:

System.TypeInitializationException: The type initializer for
'LINQPad.UI.QueryControl' threw an exception.

at LINQPad.UI.QueryControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()

INNER EXCEPTION:
System.IO.FileLoadException: Could not load file or assembly
'ActiproSoftware.SyntaxEditor.Net20, Version=4.0.277.0, Culture=neutral,
PublicKeyToken=21a821480e210563' or one of its dependencies. Exception from
HRESULT: 0x80131052

at LINQPad.UI.QueryControl..cctor()

OK, this is the wrong forum for these problems. Can anyone point me to a
visual studio 2008 LINQ tutorial that can show me how to use that nice GUI
you get when you drag the tables from the Northwind database?

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Datagrid as ComboBox Dropdown Part 2
http://www.eggheadcafe.com/tutorial...96-e24127040bbf/wpf-datagrid-as-combobox.aspx
 
Back
Top