예제 #1
0
 /// <inheritdoc />
 public Task <IEnumerable <T> > FetchAsync <T>(string cql, params object[] args)
 {
     return(FetchAsync <T>(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #2
0
 /// <inheritdoc />
 public void Execute(string cql, params object[] args)
 {
     Execute(Cql.New(cql, args, CqlQueryOptions.None));
 }
예제 #3
0
 /// <inheritdoc />
 public Task <IEnumerable <T> > FetchAsync <T>(CqlQueryOptions options = null)
 {
     return(FetchAsync <T>(Cql.New(string.Empty, new object[0], options ?? CqlQueryOptions.None)));
 }
예제 #4
0
 /// <inheritdoc />
 public AppliedInfo <T> UpdateIf <T>(string cql, params object[] args)
 {
     return(UpdateIf <T>(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #5
0
 /// <inheritdoc />
 public void Delete <T>(string cql, params object[] args)
 {
     Delete <T>(Cql.New(cql, args, CqlQueryOptions.None));
 }
예제 #6
0
 /// <inheritdoc />
 public T Single <T>(string cql, params object[] args)
 {
     return(Single <T>(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #7
0
 /// <inheritdoc />
 public T FirstOrDefault <T>(string cql, params object[] args)
 {
     return(FirstOrDefault <T>(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #8
0
 /// <inheritdoc />
 public IPage <T> FetchPage <T>(CqlQueryOptions queryOptions = null)
 {
     return(FetchPage <T>(Cql.New(string.Empty, new object[0], queryOptions ?? new CqlQueryOptions())));
 }
예제 #9
0
 /// <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))));
 }
예제 #10
0
 /// <inheritdoc />
 public Task <AppliedInfo <T> > DeleteIfAsync <T>(string cql, params object[] args)
 {
     return(DeleteIfAsync <T>(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #11
0
 /// <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)));
 }
예제 #12
0
 /// <inheritdoc />
 public Task ExecuteAsync(string cql, params object[] args)
 {
     return(ExecuteAsync(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #13
0
 /// <inheritdoc />
 public Task DeleteAsync <T>(string cql, params object[] args)
 {
     return(DeleteAsync <T>(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #14
0
 /// <inheritdoc />
 public Task <T> SingleOrDefaultAsync <T>(string cql, params object[] args)
 {
     return(SingleOrDefaultAsync <T>(Cql.New(cql, args, CqlQueryOptions.None)));
 }
예제 #15
0
 /// <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))));
 }
예제 #16
0
 /// <inheritdoc />
 public Task <IPage <T> > FetchPageAsync <T>(CqlQueryOptions options = null)
 {
     return(FetchPageAsync <T>(Cql.New(string.Empty, new object[0], options ?? new CqlQueryOptions())));
 }