SELECT t.ID, t.Name as 'FirstName' FROM table1 as t
LINQ stulpelio vardas keičiamas kuriant objektą:
Dim obj = From g In odb.Groups
Join
mg In odb.MainGroups On
g.MainId Equals mg.Id
Join
sg In odb.Subgroups On
sg.ProdGroup Equals g.Cat
Order
By mg.ProductGroup, g.Description Ascending
Select
New With
{mg.ProductGroup, g.Description, .NextDesc = sg.Description}
Komentarų nėra:
Rašyti komentarą