• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# ISortExpression类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ISortExpression的典型用法代码示例。如果您正苦于以下问题:C# ISortExpression类的具体用法?C# ISortExpression怎么用?C# ISortExpression使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ISortExpression类属于命名空间,在下文中一共展示了ISortExpression类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: GetMultiUsingRolesWithAuditAction

 /// <summary>Retrieves in the calling AuditActionCollection object all AuditActionEntity objects which are related via a relation of type 'm:n' with the passed in RoleEntity.</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="roleInstance">RoleEntity object to be used as a filter in the m:n relation</param>
 /// <param name="prefetchPathToUse">the PrefetchPath which defines the graph of objects to fetch.</param>
 /// <param name="pageNumber">The page number to retrieve.</param>
 /// <param name="pageSize">The page size of the page to retrieve.</param>
 /// <returns>true if succeeded, false otherwise</returns>
 public bool GetMultiUsingRolesWithAuditAction(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IEntity roleInstance, IPrefetchPath prefetchPathToUse, int pageNumber, int pageSize)
 {
     RelationCollection relations = new RelationCollection();
     relations.Add(AuditActionEntity.Relations.RoleAuditActionEntityUsingAuditActionID, "RoleAuditAction_");
     relations.Add(RoleAuditActionEntity.Relations.RoleEntityUsingRoleID, "RoleAuditAction_", string.Empty, JoinHint.None);
     IPredicateExpression selectFilter = new PredicateExpression();
     selectFilter.Add(new FieldCompareValuePredicate(roleInstance.Fields[(int)RoleFieldIndex.RoleID], ComparisonOperator.Equal));
     return this.GetMulti(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, entityFactoryToUse, selectFilter, relations, prefetchPathToUse, pageNumber, pageSize);
 }
开发者ID:priaonehaha,项目名称:HnD,代码行数:20,代码来源:AuditActionDAO.cs


示例2: GetMulti

 /// <summary>Retrieves in the calling MembershipCollection object all MembershipEntity 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="roleInstance">RoleEntity instance to use as a filter for the MembershipEntity objects to return</param>
 /// <param name="storeInformationInstance">StoreInformationEntity instance to use as a filter for the MembershipEntity 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 roleInstance, IEntity storeInformationInstance, int pageNumber, int pageSize)
 {
     this.EntityFactoryToUse = entityFactoryToUse;
     IEntityFields fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(ProductSearchEngine.EntityType.MembershipEntity);
     IPredicateExpression selectFilter = CreateFilterUsingForeignKeys(roleInstance, storeInformationInstance, fieldsToReturn);
     if(filter!=null)
     {
         selectFilter.AddWithAnd(filter);
     }
     return this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize);
 }
开发者ID:fahrigoktuna,项目名称:ProductSearchEngine,代码行数:22,代码来源:MembershipDAO.cs


示例3: GetMulti

 /// <summary>Retrieves in the calling ForumCollection object all ForumEntity 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="sectionInstance">SectionEntity instance to use as a filter for the ForumEntity objects to return</param>
 /// <param name="defaultSupportQueueInstance">SupportQueueEntity instance to use as a filter for the ForumEntity 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 sectionInstance, IEntity defaultSupportQueueInstance, int pageNumber, int pageSize)
 {
     this.EntityFactoryToUse = entityFactoryToUse;
     IEntityFields fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(SD.HnD.DAL.EntityType.ForumEntity);
     IPredicateExpression selectFilter = CreateFilterUsingForeignKeys(sectionInstance, defaultSupportQueueInstance, fieldsToReturn);
     if(filter!=null)
     {
         selectFilter.AddWithAnd(filter);
     }
     return this.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize);
 }
开发者ID:priaonehaha,项目名称:HnD,代码行数:22,代码来源:ForumDAO.cs


示例4: SetCollectionParametersPackageCollectionViaDonation

 /// <summary> Sets the collection parameters for the collection for 'PackageCollectionViaDonation'. These settings will be taken into account
 /// when the property PackageCollectionViaDonation is requested or GetMultiPackageCollectionViaDonation is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersPackageCollectionViaDonation(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _packageCollectionViaDonation.SortClauses=sortClauses;
     _packageCollectionViaDonation.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:9,代码来源:DonorEntity.cs


示例5: SetCollectionParametersAuctionEventDonor

 /// <summary> Sets the collection parameters for the collection for 'AuctionEventDonor'. These settings will be taken into account
 /// when the property AuctionEventDonor is requested or GetMultiAuctionEventDonor is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersAuctionEventDonor(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _auctionEventDonor.SortClauses=sortClauses;
     _auctionEventDonor.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:9,代码来源:DonorEntity.cs


示例6: SetCollectionParametersExpense_

 /// <summary> Sets the collection parameters for the collection for 'Expense_'. These settings will be taken into account
 /// when the property Expense_ is requested or GetMultiExpense_ is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersExpense_(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _expense_.SortClauses=sortClauses;
     _expense_.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:9,代码来源:UserEntity.cs


示例7: GetMultiUsingRoleCollectionViaUser

 /// <summary>
 /// Retrieves in the calling AccountCollection object all AccountEntity objects
 /// which are related via a relation of type 'm:n' with the passed in RoleEntity. 
 /// </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="roleInstance">RoleEntity object to be used as a filter in the m:n relation</param>
 /// <param name="pageNumber">The page number to retrieve.</param>
 /// <param name="pageSize">The page size of the page to retrieve.</param>
 /// <returns>true if succeeded, false otherwise</returns>
 public bool GetMultiUsingRoleCollectionViaUser(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IEntity roleInstance, int pageNumber, int pageSize)
 {
     IEntityFields fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(Auction.Entities.EntityType.AccountEntity);
     RelationCollection relations = new RelationCollection();
     relations.Add(AccountEntity.Relations.UserEntityUsingAccountId, "User_");
     relations.Add(UserEntity.Relations.RoleEntityUsingRoleId, "User_", string.Empty, JoinHint.None);
     IPredicateExpression selectFilter = new PredicateExpression();
     selectFilter.Add(new FieldCompareValuePredicate(roleInstance.Fields[(int)RoleFieldIndex.Id], ComparisonOperator.Equal));
     return GetMulti(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, entityFactoryToUse, selectFilter, relations, pageNumber, pageSize);
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:24,代码来源:AccountDAO.cs


示例8: SetCollectionParametersSystemRightAssignedToRoles

 /// <summary> Sets the collection parameters for the collection for 'SystemRightAssignedToRoles'. These settings will be taken into account
 /// when the property SystemRightAssignedToRoles is requested or GetMultiSystemRightAssignedToRoles is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersSystemRightAssignedToRoles(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _systemRightAssignedToRoles.SortClauses=sortClauses;
     _systemRightAssignedToRoles.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:priaonehaha,项目名称:HnD,代码行数:9,代码来源:ActionRightEntityBase.cs


示例9: GetMultiUsingUsersWhoStartedThreads

 /// <summary>Retrieves in the calling ForumCollection object all ForumEntity objects which are related via a relation of type 'm:n' with the passed in UserEntity.</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="userInstance">UserEntity object to be used as a filter in the m:n relation</param>
 /// <param name="prefetchPathToUse">the PrefetchPath which defines the graph of objects to fetch.</param>
 /// <param name="pageNumber">The page number to retrieve.</param>
 /// <param name="pageSize">The page size of the page to retrieve.</param>
 /// <returns>true if succeeded, false otherwise</returns>
 public bool GetMultiUsingUsersWhoStartedThreads(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IEntity userInstance, IPrefetchPath prefetchPathToUse, int pageNumber, int pageSize)
 {
     RelationCollection relations = new RelationCollection();
     relations.Add(ForumEntity.Relations.ThreadEntityUsingForumID, "Thread_");
     relations.Add(ThreadEntity.Relations.UserEntityUsingStartedByUserID, "Thread_", string.Empty, JoinHint.None);
     IPredicateExpression selectFilter = new PredicateExpression();
     selectFilter.Add(new FieldCompareValuePredicate(userInstance.Fields[(int)UserFieldIndex.UserID], ComparisonOperator.Equal));
     return this.GetMulti(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, entityFactoryToUse, selectFilter, relations, prefetchPathToUse, pageNumber, pageSize);
 }
开发者ID:priaonehaha,项目名称:HnD,代码行数:20,代码来源:ForumDAO.cs


示例10: GetMultiUsingDecisionNodeCollectionViaRule

 /// <summary>
 /// Retrieves in the calling EffectCollection object all EffectEntity objects
 /// which are related via a relation of type 'm:n' with the passed in DecisionNodeEntity. 
 /// </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="decisionNodeInstance">DecisionNodeEntity object to be used as a filter in the m:n relation</param>
 /// <param name="pageNumber">The page number to retrieve.</param>
 /// <param name="pageSize">The page size of the page to retrieve.</param>
 /// <returns>true if succeeded, false otherwise</returns>
 public bool GetMultiUsingDecisionNodeCollectionViaRule(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IEntity decisionNodeInstance, int pageNumber, int pageSize)
 {
     IEntityFields fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(policyDB.EntityType.EffectEntity);
     RelationCollection relations = new RelationCollection();
     relations.Add(EffectEntity.Relations.RuleEntityUsingEffectId, "Rule_");
     relations.Add(RuleEntity.Relations.DecisionNodeEntityUsingConditionId, "Rule_", string.Empty, JoinHint.None);
     IPredicateExpression selectFilter = new PredicateExpression();
     selectFilter.Add(new FieldCompareValuePredicate(decisionNodeInstance.Fields[(int)DecisionNodeFieldIndex.Id], ComparisonOperator.Equal));
     return GetMulti(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, entityFactoryToUse, selectFilter, relations, pageNumber, pageSize);
 }
开发者ID:habibvirji,项目名称:Webinos-Platform,代码行数:24,代码来源:EffectDAO.cs


示例11: SetCollectionParametersProductSpecifications

 /// <summary> Sets the collection parameters for the collection for 'ProductSpecifications'. These settings will be taken into account
 /// when the property ProductSpecifications is requested or GetMultiProductSpecifications is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersProductSpecifications(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _productSpecifications.SortClauses=sortClauses;
     _productSpecifications.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:fahrigoktuna,项目名称:ProductSearchEngine,代码行数:9,代码来源:ProductEntity.cs


示例12: SetCollectionParametersCategoryCollectionViaPackage

 /// <summary> Sets the collection parameters for the collection for 'CategoryCollectionViaPackage'. These settings will be taken into account
 /// when the property CategoryCollectionViaPackage is requested or GetMultiCategoryCollectionViaPackage is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersCategoryCollectionViaPackage(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _categoryCollectionViaPackage.SortClauses=sortClauses;
     _categoryCollectionViaPackage.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:9,代码来源:BidderEntity.cs


示例13: GetMulti

 /// <summary>
 /// Retrieves in the calling PackageCollection object all PackageEntity 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="auctionEventInstance">AuctionEventEntity instance to use as a filter for the PackageEntity objects to return</param>
 /// <param name="bidderInstance">BidderEntity instance to use as a filter for the PackageEntity objects to return</param>
 /// <param name="categoryInstance">CategoryEntity instance to use as a filter for the PackageEntity objects to return</param>
 /// <param name="user__Instance">UserEntity instance to use as a filter for the PackageEntity objects to return</param>
 /// <param name="user_Instance">UserEntity instance to use as a filter for the PackageEntity objects to return</param>
 /// <param name="userInstance">UserEntity instance to use as a filter for the PackageEntity 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 auctionEventInstance, IEntity bidderInstance, IEntity categoryInstance, IEntity user__Instance, IEntity user_Instance, IEntity userInstance, int pageNumber, int pageSize)
 {
     base.EntityFactoryToUse = entityFactoryToUse;
     IEntityFields fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(Auction.Entities.EntityType.PackageEntity);
     IPredicateExpression selectFilter = CreateFilterUsingForeignKeys(auctionEventInstance, bidderInstance, categoryInstance, user__Instance, user_Instance, userInstance, fieldsToReturn);
     if(filter!=null)
     {
         selectFilter.AddWithAnd(filter);
     }
     return base.PerformGetMultiAction(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, null, null, pageNumber, pageSize);
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:31,代码来源:PackageDAO.cs


示例14: SetCollectionParametersThistoryAlat

 /// <summary> Sets the collection parameters for the collection for 'ThistoryAlat'. These settings will be taken into account
 /// when the property ThistoryAlat is requested or GetMultiThistoryAlat is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersThistoryAlat(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _thistoryAlat.SortClauses=sortClauses;
     _thistoryAlat.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:trogalko,项目名称:kalibrasi,代码行数:9,代码来源:MAlatEntity.cs


示例15: SetCollectionParametersPolicyLinkCollectionViaPolicyLink

 /// <summary> Sets the collection parameters for the collection for 'PolicyLinkCollectionViaPolicyLink'. These settings will be taken into account
 /// when the property PolicyLinkCollectionViaPolicyLink is requested or GetMultiPolicyLinkCollectionViaPolicyLink is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersPolicyLinkCollectionViaPolicyLink(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _policyLinkCollectionViaPolicyLink.SortClauses=sortClauses;
     _policyLinkCollectionViaPolicyLink.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:habibvirji,项目名称:Webinos-Platform,代码行数:9,代码来源:PolicyEntity.cs


示例16: SetCollectionParametersEffectCollectionViaRule

 /// <summary> Sets the collection parameters for the collection for 'EffectCollectionViaRule'. These settings will be taken into account
 /// when the property EffectCollectionViaRule is requested or GetMultiEffectCollectionViaRule is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersEffectCollectionViaRule(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _effectCollectionViaRule.SortClauses=sortClauses;
     _effectCollectionViaRule.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:habibvirji,项目名称:Webinos-Platform,代码行数:9,代码来源:PolicyEntity.cs


示例17: SetCollectionParametersRoleCollectionViaUser_

 /// <summary> Sets the collection parameters for the collection for 'RoleCollectionViaUser_'. These settings will be taken into account
 /// when the property RoleCollectionViaUser_ is requested or GetMultiRoleCollectionViaUser_ is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersRoleCollectionViaUser_(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _roleCollectionViaUser_.SortClauses=sortClauses;
     _roleCollectionViaUser_.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:9,代码来源:UserEntity.cs


示例18: SetCollectionParametersUserCollectionViaDonation_

 /// <summary> Sets the collection parameters for the collection for 'UserCollectionViaDonation_'. These settings will be taken into account
 /// when the property UserCollectionViaDonation_ is requested or GetMultiUserCollectionViaDonation_ is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersUserCollectionViaDonation_(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _userCollectionViaDonation_.SortClauses=sortClauses;
     _userCollectionViaDonation_.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:9,代码来源:DonorEntity.cs


示例19: SetCollectionParametersMuser

 /// <summary> Sets the collection parameters for the collection for 'Muser'. These settings will be taken into account
 /// when the property Muser is requested or GetMultiMuser is called.</summary>
 /// <param name="maxNumberOfItemsToReturn"> The maximum number of items to return. When set to 0, this parameter is ignored</param>
 /// <param name="sortClauses">The order by specifications for the sorting of the resultset. When not specified (null), no sorting is applied.</param>
 public virtual void SetCollectionParametersMuser(long maxNumberOfItemsToReturn, ISortExpression sortClauses)
 {
     _muser.SortClauses=sortClauses;
     _muser.MaxNumberOfItemsToReturn=maxNumberOfItemsToReturn;
 }
开发者ID:trogalko,项目名称:kalibrasi,代码行数:9,代码来源:MHakAksesEntity.cs


示例20: GetMultiUsingUserCollectionViaPackage_

 /// <summary>
 /// Retrieves in the calling CategoryCollection object all CategoryEntity objects
 /// which are related via a relation of type 'm:n' with the passed in UserEntity. 
 /// </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="userInstance">UserEntity object to be used as a filter in the m:n relation</param>
 /// <param name="pageNumber">The page number to retrieve.</param>
 /// <param name="pageSize">The page size of the page to retrieve.</param>
 /// <returns>true if succeeded, false otherwise</returns>
 public bool GetMultiUsingUserCollectionViaPackage_(ITransaction containingTransaction, IEntityCollection collectionToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IEntityFactory entityFactoryToUse, IEntity userInstance, int pageNumber, int pageSize)
 {
     IEntityFields fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(Auction.Entities.EntityType.CategoryEntity);
     RelationCollection relations = new RelationCollection();
     relations.Add(CategoryEntity.Relations.PackageEntityUsingCategoryId, "Package_");
     relations.Add(PackageEntity.Relations.UserEntityUsingClosedOutBy, "Package_", string.Empty, JoinHint.None);
     IPredicateExpression selectFilter = new PredicateExpression();
     selectFilter.Add(new FieldCompareValuePredicate(userInstance.Fields[(int)UserFieldIndex.Id], ComparisonOperator.Equal));
     return GetMulti(containingTransaction, collectionToFill, maxNumberOfItemsToReturn, sortClauses, entityFactoryToUse, selectFilter, relations, pageNumber, pageSize);
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:24,代码来源:CategoryDAO.cs



注:本文中的ISortExpression类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ISound类代码示例发布时间:2022-05-24
下一篇:
C# ISolutionManager类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap