using System.Linq; using Microsoft.EntityFrameworkCore; using LCU.Library.Internal.ArchiverApiModel.Entities; namespace LCU.Library.Internal.ArchiverApiLib.Extensions { public static class QueryableIncludeAll { public static IQueryable IncludeAll(this IQueryable queryable) { return queryable.Include(applicationMapping => applicationMapping.ParameterMappings).Include(applicationMapping => applicationMapping.RegexMappings); } } }