Validated book queries are obsolete
This commit is contained in:
parent
ead4b97c4f
commit
bf09fe4a91
3 changed files with 48 additions and 2 deletions
|
|
@ -41,7 +41,8 @@ namespace Yavsc.Controllers
|
|||
var now = DateTime.Now;
|
||||
|
||||
var result = _context.Commands.Include(c => c.Location).
|
||||
Include(c => c.Client).Where(c => c.PerformerId == uid && c.Id < maxId && c.EventDate > now).
|
||||
Include(c => c.Client).Where(c => c.PerformerId == uid && c.Id < maxId && c.EventDate > now
|
||||
&& c.ValidationDate == null).
|
||||
Select(c => new BookQueryProviderInfo
|
||||
{
|
||||
Client = new ClientProviderInfo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue