コード例 #1
0
        /// <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());
        }
コード例 #2
0
        /// <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);
        }