Updating
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user