Esempio n. 1
0
 public V341CreateSubscription(
     Guid subscriptionId,
     DateTimeOffset expiryTime,
     ItemKind itemKind,
     string dataTypeName,
     string queryExprStr,
     string[] appScopes,
     long minimumUSN,
     bool excludeDeleted,
     bool excludeExisting,
     bool waitForExisting,
     DateTimeOffset asAtTime,
     bool excludeDataBody)
 {
     QueryDef = new V341QueryDefinition(
         itemKind,
         dataTypeName,
         appScopes,
         null,
         queryExprStr,
         asAtTime,
         minimumUSN,
         excludeExisting,
         waitForExisting,
         excludeDeleted,
         excludeDataBody);
     SubscriptionId = subscriptionId;
     ExpiryTime     = expiryTime;
 }
Esempio n. 2
0
 // selecting by query
 public V341SelectMultipleItems(
     string dataTypeName,
     ItemKind itemKind,
     string queryExprStr,
     string orderExprStr,
     int startRow,
     int rowCount,
     string[] appScopes,
     long minimumUSN,
     bool includeDeleted,
     DateTimeOffset asAtTime,
     bool excludeDataBody)
 {
     QueryDef = new V341QueryDefinition(
         itemKind,
         dataTypeName,
         appScopes,
         null,
         queryExprStr,
         asAtTime,
         minimumUSN,
         false, true,
         !includeDeleted,
         excludeDataBody);
     OrderExpr = orderExprStr;
     StartRow  = startRow;
     RowCount  = rowCount;
 }
Esempio n. 3
0
 public V341SelectMultipleItems(
     Guid[] itemIds,
     bool excludeDataBody)
 {
     QueryDef = new V341QueryDefinition(
         ItemKind.Undefined, null, null, null, null,
         DateTimeOffset.MinValue, 0, false, true, false, excludeDataBody);
     ItemIds = itemIds;
 }
Esempio n. 4
0
 // selecting by names(s)
 public V341SelectMultipleItems(
     string dataTypeName,
     ItemKind itemKind,
     string[] itemNames,
     string[] appScopes,
     long minimumUSN,
     bool includeDeleted,
     DateTimeOffset asAtTime,
     bool excludeDataBody)
 {
     QueryDef = new V341QueryDefinition(
         itemKind,
         dataTypeName,
         appScopes,
         itemNames,
         null,
         asAtTime,
         minimumUSN,
         false, true,
         !includeDeleted,
         excludeDataBody);
 }