public IQueryable <PCConfiguration> FindPublishedConfigurations(string name) { if (string.IsNullOrEmpty(name)) { throw new ArgumentNullException(); } return(_workplace.Query <PCConfiguration>() .Where(x => x.Status == PCConfigurationStatus.Published && x.Name == name)); }
public IQueryable <PCComponent> Query(ComponentType type) { return(_workplace.Query <PCComponent>() .Where(x => x.Type == type)); }
public IQueryable <ComponentInterface> Query(PersistenceAwareSpecification <ComponentInterface> specification) { return(_workplace.Query <ComponentInterface>() .Where(specification.GetConditionExpression())); }