public IEntityAuditQuery <TEntity> AddOrder(IAuditOrder order) { _hasOrders = true; var orderData = order.GetData(_auditConfiguration); var propertyName = CriteriaTools.DeterminePropertyName(_auditConfiguration, _auditReader, _entityName, orderData.Item1); _queryBuilder.AddOrder(_alias, propertyName, orderData.Item2); return(this); }
public IAuditQuery AddOrder(IAuditOrder order) { hasOrder = true; Pair <String, Boolean> orderData = order.getData(verCfg); qb.AddOrder(orderData.First, orderData.Second); return(this); }
public IEntityAuditQuery <TEntity> AddOrder(IAuditOrder order) { _hasOrder = true; var orderData = order.GetData(AuditConfiguration); var propertyName = CriteriaTools.DeterminePropertyName(AuditConfiguration, _versionsReader, EntityName, orderData.Item1); QueryBuilder.AddOrder(QueryConstants.ReferencedEntityAlias, propertyName, orderData.Item2); return(this); }
public IAuditQuery AddOrder(IAuditOrder order) { HasOrder = true; var orderData = order.GetData(VerCfg); var propertyName = CriteriaTools.DeterminePropertyName(VerCfg, VersionsReader, EntityName, orderData.Item1); QueryBuilder.AddOrder(propertyName, orderData.Item2); return(this); }
public IEntityAuditQuery <TEntity> AddOrder(IAuditOrder order) { hasOrder = true; var orderData = order.GetData(auditConfiguration); var propertyName = CriteriaTools.DeterminePropertyName(AuditConfiguration, versionsReader, entityName, orderData.Item1); queryBuilder.AddOrder(propertyName, orderData.Item2); return(this); }
public IAuditQuery AddOrder(IAuditOrder order) { hasOrder = true; Pair<String, Boolean> orderData = order.getData(verCfg); qb.AddOrder(orderData.First, orderData.Second); return this; }