/// <inheritdoc /> public Task <IEnumerable <T> > FetchAsync <T>(string cql, params object[] args) { return(FetchAsync <T>(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public void Execute(string cql, params object[] args) { Execute(Cql.New(cql, args, CqlQueryOptions.None)); }
/// <inheritdoc /> public Task <IEnumerable <T> > FetchAsync <T>(CqlQueryOptions options = null) { return(FetchAsync <T>(Cql.New(string.Empty, new object[0], options ?? CqlQueryOptions.None))); }
/// <inheritdoc /> public AppliedInfo <T> UpdateIf <T>(string cql, params object[] args) { return(UpdateIf <T>(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public void Delete <T>(string cql, params object[] args) { Delete <T>(Cql.New(cql, args, CqlQueryOptions.None)); }
/// <inheritdoc /> public T Single <T>(string cql, params object[] args) { return(Single <T>(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public T FirstOrDefault <T>(string cql, params object[] args) { return(FirstOrDefault <T>(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public IPage <T> FetchPage <T>(CqlQueryOptions queryOptions = null) { return(FetchPage <T>(Cql.New(string.Empty, new object[0], queryOptions ?? new CqlQueryOptions()))); }
/// <inheritdoc /> public IPage <T> FetchPage <T>(int pageSize, byte[] pagingState, string cql, params object[] args) { return(FetchPage <T>(Cql.New(cql, args, new CqlQueryOptions().SetPageSize(pageSize).SetPagingState(pagingState)))); }
/// <inheritdoc /> public Task <AppliedInfo <T> > DeleteIfAsync <T>(string cql, params object[] args) { return(DeleteIfAsync <T>(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public IEnumerable <T> Fetch <T>(CqlQueryOptions queryOptions = null) { // Just let the SQL be auto-generated return(Fetch <T>(Cql.New(string.Empty, new object[0], queryOptions ?? CqlQueryOptions.None))); }
/// <inheritdoc /> public Task ExecuteAsync(string cql, params object[] args) { return(ExecuteAsync(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public Task DeleteAsync <T>(string cql, params object[] args) { return(DeleteAsync <T>(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public Task <T> SingleOrDefaultAsync <T>(string cql, params object[] args) { return(SingleOrDefaultAsync <T>(Cql.New(cql, args, CqlQueryOptions.None))); }
/// <inheritdoc /> public Task <IPage <T> > FetchPageAsync <T>(int pageSize, byte[] pagingState, string query, object[] args) { return(FetchPageAsync <T>(Cql.New(query, args, new CqlQueryOptions().SetPageSize(pageSize).SetPagingState(pagingState)))); }
/// <inheritdoc /> public Task <IPage <T> > FetchPageAsync <T>(CqlQueryOptions options = null) { return(FetchPageAsync <T>(Cql.New(string.Empty, new object[0], options ?? new CqlQueryOptions()))); }