You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT [l].[Id], [l].[Date], [l].[DepartmentId], [l].[EmplId], [l].[Hours], [l].[LeaveType], [l.Empl].[Id], [l.Empl].[DepartmentId], [l.Empl].[FromDate], [l.Empl].[LeaveDate], [l.Empl].[Name], [l.Empl].[OperationId], [l.Empl].[Section], [l.Empl].[SkillLevel]
FROM [Leaves] AS [l]
LEFT JOIN [Empls] AS [l.Empl] ON [l].[EmplId] = [l.Empl].[Id]
ORDER BY [l].[EmplId]
why it select all the fields in table Empl? and can't find 'where'
is this a bug?
The text was updated successfully, but these errors were encountered:
All fields are selected due to this issue: #6647
Where is not in the query due to issue #4588 (which has already been fixed and will be available in 1.1.0)
when I code:
_context.Leaves.Where(l => l.Empl.Name=="ju")
the SQL generated:
SELECT [l].[Id], [l].[Date], [l].[DepartmentId], [l].[EmplId], [l].[Hours], [l].[LeaveType], [l.Empl].[Id], [l.Empl].[DepartmentId], [l.Empl].[FromDate], [l.Empl].[LeaveDate], [l.Empl].[Name], [l.Empl].[OperationId], [l.Empl].[Section], [l.Empl].[SkillLevel]
FROM [Leaves] AS [l]
LEFT JOIN [Empls] AS [l.Empl] ON [l].[EmplId] = [l.Empl].[Id]
ORDER BY [l].[EmplId]
why it select all the fields in table Empl? and can't find 'where'
is this a bug?
The text was updated successfully, but these errors were encountered: