Exemple #1
0
        /// <summary>Retrieves in the calling OrderDetailCollection object all OrderDetailEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="orderInstance">OrderEntity instance to use as a filter for the OrderDetailEntity objects to return</param>
        /// <param name="productInstance">ProductEntity instance to use as a filter for the OrderDetailEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity orderInstance, IEntity productInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(Northwind.SSDAL.EntityType.OrderDetailEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(orderInstance, productInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
        /// <summary>
        /// Retrieves in the calling CustomerAddressCollection object all CustomerAddressEntity objects which have data in common
        /// with the specified related Entities. If one is omitted, that entity is not used as a filter.
        /// </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query.
        /// If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return.
        /// When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="addressInstance">AddressEntity instance to use as a filter for the CustomerAddressEntity objects to return</param>
        /// <param name="addressTypeInstance">AddressTypeEntity instance to use as a filter for the CustomerAddressEntity objects to return</param>
        /// <param name="customerInstance">CustomerEntity instance to use as a filter for the CustomerAddressEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity addressInstance, IEntity addressTypeInstance, IEntity customerInstance, int pageNumber, int pageSize)
        {
            base.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(AW.Data.EntityType.CustomerAddressEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(addressInstance, addressTypeInstance, customerInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(base.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
Exemple #3
0
        /// <summary>Retrieves in the calling EmployeeCollection object all EmployeeEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="employeesInstance">EmployeeEntity instance to use as a filter for the EmployeeEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity employeesInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(SD.LLBLGen.Pro.Examples.Auditing.EntityType.EmployeeEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(employeesInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
Exemple #4
0
        /// <summary>
        /// Retrieves in the calling DeepFryerChangeLogCollection object all DeepFryerChangeLogEntity objects which have data in common
        /// with the specified related Entities. If one is omitted, that entity is not used as a filter.
        /// </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query.
        /// If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return.
        /// When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="changeLogInstance">ChangeLogEntity instance to use as a filter for the DeepFryerChangeLogEntity objects to return</param>
        /// <param name="deepFryerInstance">DeepFryerEntity instance to use as a filter for the DeepFryerChangeLogEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity changeLogInstance, IEntity deepFryerInstance, int pageNumber, int pageSize)
        {
            base.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(Reliant.RenuOil.DAL.EntityType.DeepFryerChangeLogEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(changeLogInstance, deepFryerInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(base.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
Exemple #5
0
        /// <summary>
        /// Retrieves in the calling ObserverDataSetColourCollection object all ObserverDataSetColourEntity objects which have data in common
        /// with the specified related Entities. If one is omitted, that entity is not used as a filter.
        /// </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query.
        /// If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return.
        /// When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="observerDataSetInstance">ObserverDataSetEntity instance to use as a filter for the ObserverDataSetColourEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity observerDataSetInstance, int pageNumber, int pageSize)
        {
            base.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(silverspun.RGBDiff.Dal.EntityType.ObserverDataSetColourEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(observerDataSetInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(base.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
        /// <summary>
        /// Retrieves in the calling PurchaseOrderHeaderCollection object all PurchaseOrderHeaderEntity objects which have data in common
        /// with the specified related Entities. If one is omitted, that entity is not used as a filter.
        /// </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query.
        /// If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return.
        /// When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="employeeInstance">EmployeeEntity instance to use as a filter for the PurchaseOrderHeaderEntity objects to return</param>
        /// <param name="shipMethodInstance">ShipMethodEntity instance to use as a filter for the PurchaseOrderHeaderEntity objects to return</param>
        /// <param name="vendorInstance">VendorEntity instance to use as a filter for the PurchaseOrderHeaderEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity employeeInstance, IEntity shipMethodInstance, IEntity vendorInstance, int pageNumber, int pageSize)
        {
            base.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(AW.Data.EntityType.PurchaseOrderHeaderEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(employeeInstance, shipMethodInstance, vendorInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(base.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
        /// <summary>
        /// Retrieves in the calling PolicyCollection object all PolicyEntity objects which have data in common
        /// with the specified related Entities. If one is omitted, that entity is not used as a filter.
        /// </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query.
        /// If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return.
        /// When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="combineModeInstance">CombineModeEntity instance to use as a filter for the PolicyEntity objects to return</param>
        /// <param name="libraryInstance">LibraryEntity instance to use as a filter for the PolicyEntity objects to return</param>
        /// <param name="targetInstance">TargetEntity instance to use as a filter for the PolicyEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity combineModeInstance, IEntity libraryInstance, IEntity targetInstance, int pageNumber, int pageSize)
        {
            base.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(policyDB.EntityType.PolicyEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(combineModeInstance, libraryInstance, targetInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(base.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
        /// <summary>Retrieves in the calling LocationCreditCardCollection object all LocationCreditCardEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="creditCardInstance">CreditCardEntity instance to use as a filter for the LocationCreditCardEntity objects to return</param>
        /// <param name="locationInstance">LocationEntity instance to use as a filter for the LocationCreditCardEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity creditCardInstance, IEntity locationInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(EPICCentralDL.EntityType.LocationCreditCardEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(creditCardInstance, locationInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
Exemple #9
0
        /// <summary>Retrieves in the calling ChannelCollection object all ChannelEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="campaignInstance">CampaignEntity instance to use as a filter for the ChannelEntity objects to return</param>
        /// <param name="channelTypeInstance">ChannelTypeEntity instance to use as a filter for the ChannelEntity objects to return</param>
        /// <param name="redemptionCodeInstance">RedemptionCodeEntity instance to use as a filter for the ChannelEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity campaignInstance, IEntity channelTypeInstance, IEntity redemptionCodeInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(Mecca.CMT.DAL.EntityType.ChannelEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(campaignInstance, channelTypeInstance, redemptionCodeInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
        /// <summary>Retrieves in the calling ProductCollection object all ProductEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="brandInstance">BrandEntity instance to use as a filter for the ProductEntity objects to return</param>
        /// <param name="categoryInstance">CategoryEntity instance to use as a filter for the ProductEntity objects to return</param>
        /// <param name="storeInstance">StoreEntity instance to use as a filter for the ProductEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity brandInstance, IEntity categoryInstance, IEntity storeInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(ProductSearchEngine.EntityType.ProductEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(brandInstance, categoryInstance, storeInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
Exemple #11
0
        /// <summary>Retrieves in the calling SystemDataCollection object all SystemDataEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="roleForAnonymousInstance">RoleEntity instance to use as a filter for the SystemDataEntity objects to return</param>
        /// <param name="roleForNewUserInstance">RoleEntity instance to use as a filter for the SystemDataEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity roleForAnonymousInstance, IEntity roleForNewUserInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(SD.HnD.DAL.EntityType.SystemDataEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(roleForAnonymousInstance, roleForNewUserInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
        /// <summary>Retrieves in the calling GradeBookCollection object all GradeBookEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="gradeItemInstance">GradeItemEntity instance to use as a filter for the GradeBookEntity objects to return</param>
        /// <param name="offeringInstance">OfferingEntity instance to use as a filter for the GradeBookEntity objects to return</param>
        /// <param name="studentInstance">StudentEntity instance to use as a filter for the GradeBookEntity objects to return</param>
        /// <param name="userInstance">UserEntity instance to use as a filter for the GradeBookEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity gradeItemInstance, IEntity offeringInstance, IEntity studentInstance, IEntity userInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(KSI.EntityType.GradeBookEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(gradeItemInstance, offeringInstance, studentInstance, userInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }
        /// <summary>Retrieves in the calling SupportQueueThreadCollection object all SupportQueueThreadEntity objects which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter. </summary>
        /// <param name="containingTransaction">A containing transaction, if caller is added to a transaction, or null if not.</param>
        /// <param name="collectionToFill">Collection to fill with the entity objects retrieved</param>
        /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified.</param>
        /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.</param>
        /// <param name="entityFactoryToUse">The EntityFactory to use when creating entity objects during a GetMulti() call.</param>
        /// <param name="filter">Extra filter to limit the resultset. Predicate expression can be null, in which case it will be ignored.</param>
        /// <param name="supportQueueInstance">SupportQueueEntity instance to use as a filter for the SupportQueueThreadEntity objects to return</param>
        /// <param name="claimedByUserInstance">UserEntity instance to use as a filter for the SupportQueueThreadEntity objects to return</param>
        /// <param name="placedInQueueByUserInstance">UserEntity instance to use as a filter for the SupportQueueThreadEntity objects to return</param>
        /// <param name="pageNumber">The page number to retrieve.</param>
        /// <param name="pageSize">The page size of the page to retrieve.</param>
        public bool GetMulti(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IPredicateExpression filter, IEntity supportQueueInstance, IEntity claimedByUserInstance, IEntity placedInQueueByUserInstance, int pageNumber, int pageSize)
        {
            this.EntityFactoryToUse = entityFactoryToUse;
            IEntityFields        fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(SD.HnD.DAL.EntityType.SupportQueueThreadEntity);
            IPredicateExpression selectFilter   = CreateFilterUsingForeignKeys(supportQueueInstance, claimedByUserInstance, placedInQueueByUserInstance, fieldsToReturn);

            if (filter != null)
            {
                selectFilter.AddWithAnd(filter);
            }
            return(this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize));
        }