15 lines
524 B
C#
15 lines
524 B
C#
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<ApplicationMapping> IncludeAll(this IQueryable<ApplicationMapping> queryable)
|
|
{
|
|
return queryable.Include(applicationMapping => applicationMapping.ParameterMappings).Include(applicationMapping => applicationMapping.RegexMappings);
|
|
}
|
|
}
|
|
}
|