public NemoQueryable(NemoQueryProvider provider, Expression expression) { provider.ThrowIfNull("provider"); expression.ThrowIfNull("expression"); _provider = provider; _expression = expression; }
public NemoQueryableAsync(NemoQueryProvider provider, Expression expression, CancellationToken cancellationToken) { provider.ThrowIfNull("provider"); expression.ThrowIfNull("expression"); _provider = provider; _expression = expression; _cancellationToken = cancellationToken == CancellationToken.None ? _tokenSource.Token : _cancellationToken; }
public NemoQueryable(DbConnection connection = null) { _provider = new NemoQueryProvider(connection); _expression = Expression.Constant(this); }
public NemoQueryableAsync(NemoQueryProvider provider, Expression expression) : this(provider, expression, CancellationToken.None) { }
public NemoQueryableAsync(DbConnection connection, IConfiguration config, CancellationToken cancellationToken) { _provider = new NemoQueryProvider(connection, config); _expression = Expression.Constant(this); _cancellationToken = cancellationToken == CancellationToken.None ? _tokenSource.Token : _cancellationToken; }