private bool FetchEntityCollection(IEntityCollection2 collection, IRelationPredicateBucket bucket) { if (_entitiesToReturn != null) { foreach (IEntity2 entity in _entitiesToReturn) { collection.Add(entity); } } return(true); }
private bool FetchEntityCollection(IEntityCollection2 collection, IRelationPredicateBucket bucket) { if (collection != null) { collection.Add(new GlobalConfigurationEntity { Name = ConfigurationSettingName.EpochDate.ToString(), Value = _expectedDateString }); } return(true); }
private bool FetchEntityCollectionWithSortExpression(IEntityCollection2 collection, IRelationPredicateBucket bucket, int maxNumberOfItemsToReturn, ISortExpression sortExpression) { if (_entitiesToReturnForSortExpression != null) { foreach (IEntity2 entity in _entitiesToReturnForSortExpression) { collection.Add(entity); } } return(true); }
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); }