コード例 #1
0
 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);
コード例 #2
0
 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);
コード例 #3
0
 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);
コード例 #4
0
 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);
コード例 #5
0
 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);
コード例 #6
0
 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));
コード例 #7
0
 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'.");
コード例 #8
0
 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);
コード例 #9
0
 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));
コード例 #10
0
 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'.");
コード例 #11
0
 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));
コード例 #12
0
 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));
コード例 #13
0
 /// <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);
コード例 #14
0
 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);
コード例 #15
0
 public static IAsyncRemoteStreamQueryable <T> CreateEntityFrameworkCoreAsyncStreamQueryable <T>(
     this RemoteQueryableFactory factory,
     Func <RemoteLinq.Expression, IAsyncEnumerable <DynamicObject> > dataProvider,
     IExpressionToRemoteLinqContext?context = null)
 => factory.CreateAsyncStreamQueryable <T>(dataProvider, GetOrCreateContext(context));
コード例 #16
0
 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);
コード例 #17
0
 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));
コード例 #18
0
 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);
コード例 #19
0
 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));
コード例 #20
0
 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);
コード例 #21
0
 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));