public static IQueryable CreateEntityFrameworkQueryable <TSource>(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, TSource> dataProvider, IQueryResultMapper <TSource> resultMapper, ITypeInfoProvider typeInfoProvider = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateQueryable <TSource>(elementType, dataProvider, resultMapper, typeInfoProvider, canBeEvaluatedLocally);
public static IQueryable <T> CreateEntityFrameworkAsyncQueryable <T>(this RemoteQueryableFactory factory, Func <Expressions.Expression, Task <IEnumerable <DynamicObject> > > dataProvider, ITypeResolver typeResolver = null, IDynamicObjectMapper mapper = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateAsyncQueryable <T>(dataProvider, typeResolver, mapper, canBeEvaluatedLocally);
public static IQueryable CreateEntityFrameworkQueryable(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, IEnumerable <DynamicObject> > dataProvider, ITypeInfoProvider typeInfoProvider = null, IDynamicObjectMapper mapper = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateQueryable(elementType, dataProvider, typeInfoProvider, mapper, canBeEvaluatedLocally);
public static IQueryable <T> CreateEntityFrameworkQueryable <T>(this RemoteQueryableFactory factory, Func <Expressions.Expression, object> dataProvider, ITypeInfoProvider typeInfoProvider = null, IQueryResultMapper <object> resultMapper = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateQueryable <T>(dataProvider, typeInfoProvider, resultMapper, canBeEvaluatedLocally);
public static IAsyncRemoteQueryable <T> CreateEntityFrameworkQueryable <T, TSource>(this RemoteQueryableFactory factory, Func <Expressions.Expression, Task <TSource> > dataProvider, IAsyncQueryResultMapper <TSource> resultMapper, ITypeInfoProvider?typeInfoProvider = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => throw new NotSupportedException(TaskBasedMethodObsolete);
public static IQueryable CreateEntityFrameworkCoreAsyncQueryable <TSource>(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, Task <TSource> > dataProvider, IAsyncQueryResultMapper <TSource> resultMapper, ITypeResolver typeResolver = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateAsyncQueryable <TSource>(elementType, dataProvider, resultMapper, typeResolver, canBeEvaluatedLocally.And(ExpressionEvaluator.CanBeEvaluated));
public static IQueryable <T> CreateEntityFrameworkCoreAsyncQueryable <T, TSource>(this RemoteQueryableFactory factory, Func <Expressions.Expression, Task <TSource> > dataProvider, IAsyncQueryResultMapper <TSource> resultMapper, ITypeInfoProvider?typeInfoProvider = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => throw new NotImplementedException("Method was renamed to 'CreateEntityFrameworkCoreQueryable'.");
public static IRemoteQueryable <T> CreateEntityFrameworkQueryable <T>(this RemoteQueryableFactory factory, Func <Expressions.Expression, IEnumerable <DynamicObject> > dataProvider, ITypeInfoProvider?typeInfoProvider = null, IDynamicObjectMapper?mapper = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => throw new NotSupportedException(EnumerableOfDynamicObjectBasedMethodObsolete);
public static IQueryable <T> CreateEntityFrameworkCoreQueryable <T, TSource>(this RemoteQueryableFactory factory, Func <Expressions.Expression, IAsyncEnumerable <TSource> > dataProvider, IQueryResultMapper <TSource> resultMapper, ITypeInfoProvider?typeInfoProvider = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => factory.CreateQueryable <T, TSource>(dataProvider, resultMapper, typeInfoProvider, canBeEvaluatedLocally.And(ExpressionEvaluator.CanBeEvaluated));
public static IQueryable CreateEntityFrameworkCoreAsyncQueryable(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, Task <IEnumerable <DynamicObject> > > dataProvider, ITypeInfoProvider?typeInfoProvider = null, IDynamicObjectMapper?mapper = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => throw new NotImplementedException("Method was renamed to 'CreateEntityFrameworkCoreQueryable'.");
public static IQueryable CreateEntityFrameworkCoreQueryable(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, Task <object> > dataProvider, ITypeInfoProvider?typeInfoProvider = null, IAsyncQueryResultMapper <object>?resultMapper = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => factory.CreateQueryable(elementType, dataProvider, typeInfoProvider, resultMapper, canBeEvaluatedLocally.And(ExpressionEvaluator.CanBeEvaluated));
public static IQueryable <T> CreateEntityFrameworkCoreQueryable <T>(this RemoteQueryableFactory factory, Func <Expressions.Expression, Task <IEnumerable <DynamicObject> > > dataProvider, ITypeInfoProvider?typeInfoProvider = null, IDynamicObjectMapper?mapper = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => factory.CreateQueryable <T>(dataProvider, typeInfoProvider, mapper, canBeEvaluatedLocally.And(ExpressionEvaluator.CanBeEvaluated));
/// <summary> /// Creates an instance of <see cref="IAsyncQueryable{T}" /> that utilizes the async stream provider specified. /// </summary> /// <typeparam name="T">Element type of the <see cref="IAsyncQueryable{T}"/>.</typeparam> public static IAsyncQueryable <T> CreateAsyncQueryable <T>( this RemoteQueryableFactory factory, Func <RemoteLinq.Expression, CancellationToken, IAsyncEnumerable <DynamicObject?> >?asyncStreamProvider, Func <RemoteLinq.Expression, CancellationToken, ValueTask <DynamicObject?> >?asyncDataProvider, IExpressionToRemoteLinqContext?context = null) => CreateAsyncQueryable <T, DynamicObject>(factory, asyncStreamProvider, asyncDataProvider, new AsyncDynamicStreamResultMapper(context?.ValueMapper), context);
public static IQueryable CreateEntityFrameworkAsyncQueryable(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, Task <object> > dataProvider, ITypeResolver typeResolver = null, IAsyncQueryResultMapper <object> resultMapper = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateAsyncQueryable(elementType, dataProvider, typeResolver, resultMapper, canBeEvaluatedLocally);
public static IAsyncRemoteStreamQueryable <T> CreateEntityFrameworkCoreAsyncStreamQueryable <T>( this RemoteQueryableFactory factory, Func <RemoteLinq.Expression, IAsyncEnumerable <DynamicObject> > dataProvider, IExpressionToRemoteLinqContext?context = null) => factory.CreateAsyncStreamQueryable <T>(dataProvider, GetOrCreateContext(context));
public static IQueryable <T> CreateEntityFrameworkAsyncQueryable <T, TSource>(this RemoteQueryableFactory factory, Func <Expressions.Expression, Task <TSource> > dataProvider, IAsyncQueryResultMapper <TSource> resultMapper, ITypeResolver typeResolver = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateAsyncQueryable <T, TSource>(dataProvider, resultMapper, typeResolver, canBeEvaluatedLocally);
public static IAsyncRemoteStreamQueryable <T> CreateEntityFrameworkCoreAsyncStreamQueryable <T>( this RemoteQueryableFactory factory, Func <RemoteLinq.Expression, IAsyncEnumerable <DynamicObject> > dataProvider, ITypeInfoProvider?typeInfoProvider = null, Func <SystemLinq.Expression, bool>?canBeEvaluatedLocally = null) => CreateEntityFrameworkCoreAsyncStreamQueryable <T>(factory, dataProvider, GetExpressionToRemoteLinqContext(typeInfoProvider, canBeEvaluatedLocally));
public static IRemoteQueryable <T> CreateEntityFrameworkQueryable <T>( this RemoteQueryableFactory factory, Func <Expressions.Expression, DynamicObject> dataProvider, ITypeInfoProvider?typeInfoProvider = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => factory.CreateQueryable <T>(dataProvider, typeInfoProvider, canBeEvaluatedLocally);
public static IAsyncRemoteStreamQueryable <T> CreateEntityFrameworkCoreAsyncStreamQueryable <T, TSource>( this RemoteQueryableFactory factory, Func <RemoteLinq.Expression, IAsyncEnumerable <TSource?> > dataProvider, IAsyncQueryResultMapper <TSource> resultMapper, IExpressionToRemoteLinqContext?context = null) => factory.CreateAsyncStreamQueryable <T, TSource>(dataProvider, resultMapper, GetOrCreateContext(context));
public static IAsyncRemoteQueryable CreateEntityFrameworkQueryable(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, ValueTask <DynamicObject> > dataProvider, ITypeInfoProvider?typeInfoProvider = null, IDynamicObjectMapper?mapper = null, Func <System.Linq.Expressions.Expression, bool>?canBeEvaluatedLocally = null) => throw new NotSupportedException(TaskBasedMethodObsolete);
public static IQueryable CreateEntityFrameworkCoreAsyncQueryable(this RemoteQueryableFactory factory, Type elementType, Func <Expressions.Expression, Task <IEnumerable <DynamicObject> > > dataProvider, ITypeResolver typeResolver = null, IDynamicObjectMapper mapper = null, Func <System.Linq.Expressions.Expression, bool> canBeEvaluatedLocally = null) => factory.CreateAsyncQueryable(elementType, dataProvider, typeResolver, mapper, canBeEvaluatedLocally.And(ExpressionEvaluator.CanBeEvaluated));