Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- *,
- [Table2].[Name] AS [Country]
- FROM [dbo].[Table1]
- INNER JOIN [dbo].[Table2]
- ON [Table1].[CountryId] = [Table2].[Id]
- db.Table1.Join(db.Table2, s => s.CountryId, c => Id, (s, c) => new {s, Country = c.Name });
Add Comment
Please, Sign In to add comment