Last post Jan 05, 2011 11:43 AM by NikiR
May 27, 2009 10:35 AM|geltendorf|LINK
I am kinda new to Linq and especially to difference between C# and VB syntax. I've been trying for hours to learn and find the way to translate following code (from Matt Berseth's article -
A Dynamic Menu For Your Dynamic Data) to VB.NET Linq flavor. Could anybody help me, please?
from vt in MetaModel.Default.VisibleTables
// use the category to group the tables
group vt by vt.GetCategory() into groups
CategoryName = groups.Key,
Tables = groups
Besides, is there anybody having sample of templates to add "clone/copy" functionality to ASP.NET dynamic data? I would like to clone/copy existing record into new one and insert to the table with new primary key. Click on "Clone"/"Copy" link next to edit/delete/details
should display identical original record content and click on "Update" link insert such record to the underlying table.
Jan 05, 2011 11:43 AM|NikiR|LINK
I'd also appreciate help with the LINQ syntax in vb.net.
I've been using the c# training videos, but the syntax doesn't seem to tally in several ways (e.g. 'Include' is not provided as an option by intellisense and is not accepted if you just type what is on the screen').
Can anyone out there recommend useful LINQ documentation for vb.net users?