SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,808 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
code:
var stats = context.StatQueue.Where(x => x.QueueId == queueId && x.StartDateTime == startDateTime).ToList();
what I need to do is check if the current value of "MinLoggedIn" (x.MinLoggedIn) is less than stored value.
Can anyone help with this?
Thanks
Try this:
var stats = context.StatQueue.Where(x => x.QueueId == queueId && x.StartDateTime == startDateTime && x.MinLoggedIn < storedValue).ToList();