View Source
  Interface IQueryRepository<TEntity>
  
  Defines the base implementation of a querying repository.
 
  
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public interface IQueryRepository<TEntity> : IRepository
   
  Type Parameters
  
  Methods
  
  
    View Source
  
  Count(IQuery<TEntity>)
  
  
  Declaration
  
    int Count(IQuery<TEntity> query)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | IQuery<TEntity> | 
        query | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    View Source
  
  Get(IQuery<TEntity>)
  
  
  Declaration
  
    IEnumerable<TEntity> Get(IQuery<TEntity> query)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | IQuery<TEntity> | 
        query | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | IEnumerable<TEntity> | 
         |