mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2026-05-27 04:23:09 +00:00
Fixed old name reference
This commit is contained in:
@@ -12,7 +12,11 @@ namespace EntityFrameworkCore.Projectables.Extensions
|
|||||||
{
|
{
|
||||||
static ProjectableExpressionReplacer _projectableExpressionReplacer = new ProjectableExpressionReplacer(new ProjectionExpressionResolver());
|
static ProjectableExpressionReplacer _projectableExpressionReplacer = new ProjectableExpressionReplacer(new ProjectionExpressionResolver());
|
||||||
|
|
||||||
|
[Obsolete("Use ExpandProjectables instead")]
|
||||||
public static Expression ExpandQuaryables(this Expression expression)
|
public static Expression ExpandQuaryables(this Expression expression)
|
||||||
|
=> ExpandProjectables(expression);
|
||||||
|
|
||||||
|
public static Expression ExpandProjectables(this Expression expression)
|
||||||
=> _projectableExpressionReplacer.Visit(expression);
|
=> _projectableExpressionReplacer.Visit(expression);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,11 @@ namespace EntityFrameworkCore.Projectables.Extensions
|
|||||||
{
|
{
|
||||||
public static class QueryableExtensions
|
public static class QueryableExtensions
|
||||||
{
|
{
|
||||||
|
[Obsolete("Use ExpandProjectables instead")]
|
||||||
public static IQueryable<TModel> ExpandQuaryables<TModel>(this IQueryable<TModel> query)
|
public static IQueryable<TModel> ExpandQuaryables<TModel>(this IQueryable<TModel> query)
|
||||||
=> query.Provider.CreateQuery<TModel>(query.Expression.ExpandQuaryables());
|
=> ExpandProjectables(query);
|
||||||
|
|
||||||
|
public static IQueryable<TModel> ExpandProjectables<TModel>(this IQueryable<TModel> query)
|
||||||
|
=> query.Provider.CreateQuery<TModel>(query.Expression.ExpandProjectables());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -35,6 +35,6 @@ namespace EntityFrameworkCore.Projectables.Infrastructure.Internal
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override Expression Process(Expression query)
|
public override Expression Process(Expression query)
|
||||||
=> _decoratedPreprocessor.Process(query.ExpandQuaryables());
|
=> _decoratedPreprocessor.Process(query.ExpandProjectables());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user