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
(frommessageEventin s.Query<MessageEventDTO>()
join msg in s.GetTable<MessageDTO>() on messageEvent.MessageName equals msg.Name
where(messageEvent.TimestampConfirmed <olderThan&&(messageEvent.TimestampGone <olderThan|| msg.MessageType != MessageType.OnlyOnceLeaving))selectmessageEvent).Take(maxDeleteCountPerCommand).Delete();
is converted to the sql statement
DELETE [messageEvent]
FROM
[Common_MessageSystem_Events] [messageEvent]
INNER JOIN [Common_MessageSystem_Messages] [msg] ON [messageEvent].[MessageName] = [msg].[Name]
WHERE
[messageEvent].[TimestampConfirmed] < @p1 AND ([messageEvent].[TimestampGone] < @p2 OR [msg].[MessageType] <>20)
so the Top / Take condition is not considered.
The text was updated successfully, but these errors were encountered:
The following linq statement
is converted to the sql statement
so the Top / Take condition is not considered.
The text was updated successfully, but these errors were encountered: