Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Marketing Namespace / IAffiliateRepository Interface
Methods

In This Topic
    IAffiliateRepository Interface Members
    In This Topic

    The following tables list the members exposed by IAffiliateRepository.

    Public Methods
     NameDescription
     Method Count all items in the database (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Affiliate,int>)
     Method Count all items matching the criteria (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Affiliate,int>)
     Method Counts the number of Affiliate objects for the given GroupId in the database.  
     Method Counts the number of Affiliate objects for the given StoreId in the database.  
     Method Deletes an item from the database (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Affiliate,int>)
     Method Calculates the percentage of referred users who made purchases for a given timeframe.  
     Method Get the total count of order for specified user associated with specifed affiliate  
     Method Gets a count of users who were referred by the affiliate during the given timeframe.  
     Method Load item given the primary key (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Affiliate,int>)
     Method Load all items (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Affiliate,int>)
     Method Load all items matching the criteria (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Affiliate,int>)
     Method Loads a collection of Affiliate objects for the given GroupId from the database  
     Method Loads a collection of Affiliate objects for the given StoreId from the database  
     Method Saves item to the database (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Affiliate,int>)
    Top
    See Also