Пример #1
0
 private bool FetchEntityCollection(IEntityCollection2 collection, IRelationPredicateBucket bucket)
 {
     if (_entitiesToReturn != null)
     {
         foreach (IEntity2 entity in _entitiesToReturn)
         {
             collection.Add(entity);
         }
     }
     return(true);
 }
Пример #2
0
 private bool FetchEntityCollection(IEntityCollection2 collection, IRelationPredicateBucket bucket)
 {
     if (collection != null)
     {
         collection.Add(new GlobalConfigurationEntity
         {
             Name = ConfigurationSettingName.EpochDate.ToString(), Value = _expectedDateString
         });
     }
     return(true);
 }
Пример #3
0
 private bool FetchEntityCollectionWithSortExpression(IEntityCollection2 collection,
                                                      IRelationPredicateBucket bucket, int maxNumberOfItemsToReturn, ISortExpression sortExpression)
 {
     if (_entitiesToReturnForSortExpression != null)
     {
         foreach (IEntity2 entity in _entitiesToReturnForSortExpression)
         {
             collection.Add(entity);
         }
     }
     return(true);
 }
Пример #4
0
 private bool FetchEntityCollection(IEntityCollection2 collection, IRelationPredicateBucket bucket,
                                    int maxNumberOfItemsToReturn, ISortExpression sortExpression, IPrefetchPath2 prefetchPath,
                                    ExcludeIncludeFieldsList excludeIncludeFieldsList, int pageNumber, int pageSize)
 {
     if (_entitiesToReturn != null)
     {
         foreach (IEntity2 entity in _entitiesToReturn)
         {
             collection.Add(entity);
         }
     }
     return(true);
 }