Remove redundant typed fluent wrapper methods
This commit is contained in:
@@ -7386,30 +7386,6 @@ namespace DynamORM
|
||||
/// <summary>Marker extensions for typed fluent builder expressions.</summary>
|
||||
public static class TypedFluentExtensions
|
||||
{
|
||||
/// <summary>Typed select helper that avoids overload resolution with dynamic methods.</summary>
|
||||
public static IDynamicTypedSelectQueryBuilder<TModel> SelectTyped<TModel, TResult>(
|
||||
this IDynamicTypedSelectQueryBuilder<TModel> builder,
|
||||
System.Linq.Expressions.Expression<System.Func<TModel, TResult>> selector,
|
||||
params System.Linq.Expressions.Expression<System.Func<TModel, TResult>>[] selectors)
|
||||
{
|
||||
return builder.Select(selector, selectors);
|
||||
}
|
||||
/// <summary>Typed group by helper that avoids overload resolution with dynamic methods.</summary>
|
||||
public static IDynamicTypedSelectQueryBuilder<TModel> GroupByTyped<TModel, TResult>(
|
||||
this IDynamicTypedSelectQueryBuilder<TModel> builder,
|
||||
System.Linq.Expressions.Expression<System.Func<TModel, TResult>> selector,
|
||||
params System.Linq.Expressions.Expression<System.Func<TModel, TResult>>[] selectors)
|
||||
{
|
||||
return builder.GroupBy(selector, selectors);
|
||||
}
|
||||
/// <summary>Typed order by helper that avoids overload resolution with dynamic methods.</summary>
|
||||
public static IDynamicTypedSelectQueryBuilder<TModel> OrderByTyped<TModel, TResult>(
|
||||
this IDynamicTypedSelectQueryBuilder<TModel> builder,
|
||||
System.Linq.Expressions.Expression<System.Func<TModel, TResult>> selector,
|
||||
params System.Linq.Expressions.Expression<System.Func<TModel, TResult>>[] selectors)
|
||||
{
|
||||
return builder.OrderBy(selector, selectors);
|
||||
}
|
||||
/// <summary>Marks select projection alias in typed expressions.</summary>
|
||||
public static T As<T>(this T source, string alias)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user