Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="query"></param>
 public PackageSelectItemsQuery(V341SelectMultipleItems query)
     : base(query)
 {
     OrderExpr = query.OrderExpr;
     StartRow  = query.StartRow;
     RowCount  = query.RowCount;
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="header"></param>
 /// <param name="body"></param>
 public void TransferV341SelectMultipleItems(V131SessionHeader header, V341SelectMultipleItems body)
 {
     if (TryGetValidConnection(header.SessionId, out var connection))
     {
         connection.DispatchAsyncRecvSelectMultipleItems(
             new PackageSelectMultipleItems(connection.ClientId, new PackageHeader(header), new PackageSelectItemsQuery(body)));
     }
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="request"></param>
 public PackageQueryBase(V341SelectMultipleItems request)
 {
     DataType        = request.QueryDef.DataType;
     ItemKind        = V341Helpers.ToItemKind(request.QueryDef.ItemKind);
     ItemIds         = request.ItemIds;
     ItemNames       = request.QueryDef.ItemNames;
     QueryExpr       = request.QueryDef.QueryExpr;
     AppScopes       = request.QueryDef.AppScopes;
     MinimumUSN      = request.QueryDef.MinimumUSN;
     ExcludeDeleted  = request.QueryDef.ExcludeDeleted;
     AsAtTime        = request.QueryDef.AsAtTime;
     ExcludeExisting = request.QueryDef.ExcludeExisting;
     ExcludeDataBody = request.QueryDef.ExcludeDataBody;
 }