/// <inheritdoc /> public IQueryable <object> GetAll(string connectorName, string viewName, ILoggingService loggingService = null) { loggingService?.AddViewToLogger(connectorName, viewName); IOperationResource resource = ResourceFactory.GetResource(connectorName, OperationType.read, viewName); return(resource.GetViewRecords()); }
/// <inheritdoc /> public (IQueryable <object> list, int recordLimit) GetAllAndRecordLimit(string connectorName, string viewName, ILoggingService loggingService = null) { loggingService?.AddViewToLogger(connectorName, viewName); IOperationResource resource = ResourceFactory.GetResource(connectorName, OperationType.read, viewName); return(resource.GetViewRecords(), resource.Connector.RecordLimit); }