Class Mapper
The default CQL client implementation which uses the DataStax driver ISession provided in the constructor
for running queries against a Cassandra cluster.
Inheritance
System.Object
Mapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Dse.dll
Syntax
public class Mapper : IMapper, ICqlQueryAsyncClient, ICqlWriteAsyncClient, ICqlQueryClient, ICqlWriteClient
Constructors
Mapper(ISession)
Creates a new instance of the mapper using Global mapping definitions.
Declaration
public Mapper(ISession session)
Parameters
Mapper(ISession, MappingConfiguration)
Creates a new instance of the mapper using the configuration provided
Declaration
public Mapper(ISession session, MappingConfiguration config)
Parameters
Type |
Name |
Description |
ISession |
session |
Session to be used to execute the statements
|
MappingConfiguration |
config |
Mapping definitions for the POCOs
|
Methods
ConvertCqlArgument<TValue, TDatabase>(TValue)
Declaration
public TDatabase ConvertCqlArgument<TValue, TDatabase>(TValue value)
Parameters
Type |
Name |
Description |
TValue |
value |
|
Returns
Type |
Description |
TDatabase |
|
Type Parameters
Name |
Description |
TValue |
|
TDatabase |
|
CreateBatch()
Declaration
public ICqlBatch CreateBatch()
Returns
CreateBatch(BatchType)
Declaration
public ICqlBatch CreateBatch(BatchType batchType)
Parameters
Returns
Delete<T>(T, CqlQueryOptions)
Declaration
public void Delete<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Type Parameters
Delete<T>(T, String, CqlQueryOptions)
Declaration
public void Delete<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Type Parameters
Delete<T>(Cql)
Declaration
public void Delete<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Type Parameters
Delete<T>(String, Object[])
Declaration
public void Delete<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Type Parameters
DeleteAsync<T>(T, CqlQueryOptions)
Declaration
public Task DeleteAsync<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
DeleteAsync<T>(T, String, CqlQueryOptions)
Declaration
public Task DeleteAsync<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
DeleteAsync<T>(Cql)
Declaration
public Task DeleteAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
DeleteAsync<T>(String, Object[])
Declaration
public Task DeleteAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
DeleteIf<T>(Cql)
Declaration
public AppliedInfo<T> DeleteIf<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type Parameters
DeleteIf<T>(String, Object[])
Declaration
public AppliedInfo<T> DeleteIf<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type Parameters
DeleteIfAsync<T>(Cql)
Declaration
public Task<AppliedInfo<T>> DeleteIfAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
DeleteIfAsync<T>(String, Object[])
Declaration
public Task<AppliedInfo<T>> DeleteIfAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
Execute(Cql)
Declaration
public void Execute(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Execute(ICqlBatch)
Declaration
public void Execute(ICqlBatch batch)
Parameters
Execute(ICqlBatch, String)
Declaration
public void Execute(ICqlBatch batch, string executionProfile)
Parameters
Type |
Name |
Description |
ICqlBatch |
batch |
|
System.String |
executionProfile |
|
Execute(String, Object[])
Declaration
public void Execute(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
ExecuteAsync(Cql)
Declaration
public Task ExecuteAsync(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ExecuteAsync(ICqlBatch)
Declaration
public Task ExecuteAsync(ICqlBatch batch)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ExecuteAsync(ICqlBatch, String)
Declaration
public Task ExecuteAsync(ICqlBatch batch, string executionProfile)
Parameters
Type |
Name |
Description |
ICqlBatch |
batch |
|
System.String |
executionProfile |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ExecuteAsync(String, Object[])
Declaration
public Task ExecuteAsync(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ExecuteConditional<T>(ICqlBatch)
Declaration
public AppliedInfo<T> ExecuteConditional<T>(ICqlBatch batch)
Parameters
Returns
Type Parameters
ExecuteConditional<T>(ICqlBatch, String)
Declaration
public AppliedInfo<T> ExecuteConditional<T>(ICqlBatch batch, string executionProfile)
Parameters
Type |
Name |
Description |
ICqlBatch |
batch |
|
System.String |
executionProfile |
|
Returns
Type Parameters
ExecuteConditionalAsync<T>(ICqlBatch)
Declaration
public Task<AppliedInfo<T>> ExecuteConditionalAsync<T>(ICqlBatch batch)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
ExecuteConditionalAsync<T>(ICqlBatch, String)
Declaration
public Task<AppliedInfo<T>> ExecuteConditionalAsync<T>(ICqlBatch batch, string executionProfile)
Parameters
Type |
Name |
Description |
ICqlBatch |
batch |
|
System.String |
executionProfile |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
Fetch<T>(Cql)
Declaration
public IEnumerable<T> Fetch<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Fetch<T>(CqlQueryOptions)
Declaration
public IEnumerable<T> Fetch<T>(CqlQueryOptions queryOptions = null)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
Fetch<T>(String, Object[])
Declaration
public IEnumerable<T> Fetch<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
FetchAsync<T>(Cql)
Declaration
public Task<IEnumerable<T>> FetchAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<T>> |
|
Type Parameters
FetchAsync<T>(CqlQueryOptions)
Declaration
public Task<IEnumerable<T>> FetchAsync<T>(CqlQueryOptions options = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<T>> |
|
Type Parameters
FetchAsync<T>(String, Object[])
Declaration
public Task<IEnumerable<T>> FetchAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<T>> |
|
Type Parameters
FetchPage<T>(Cql)
Declaration
public IPage<T> FetchPage<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
IPage<T> |
|
Type Parameters
FetchPage<T>(CqlQueryOptions)
Declaration
public IPage<T> FetchPage<T>(CqlQueryOptions queryOptions = null)
Parameters
Returns
Type |
Description |
IPage<T> |
|
Type Parameters
FetchPage<T>(Int32, Byte[], String, Object[])
Declaration
public IPage<T> FetchPage<T>(int pageSize, byte[] pagingState, string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.Int32 |
pageSize |
|
System.Byte[] |
pagingState |
|
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
IPage<T> |
|
Type Parameters
FetchPageAsync<T>(Cql)
Declaration
public Task<IPage<T>> FetchPageAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IPage<T>> |
|
Type Parameters
FetchPageAsync<T>(CqlQueryOptions)
Declaration
public Task<IPage<T>> FetchPageAsync<T>(CqlQueryOptions options = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<IPage<T>> |
|
Type Parameters
FetchPageAsync<T>(Int32, Byte[], String, Object[])
Declaration
public Task<IPage<T>> FetchPageAsync<T>(int pageSize, byte[] pagingState, string query, object[] args)
Parameters
Type |
Name |
Description |
System.Int32 |
pageSize |
|
System.Byte[] |
pagingState |
|
System.String |
query |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IPage<T>> |
|
Type Parameters
First<T>(Cql)
Declaration
public T First<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type Parameters
First<T>(String, Object[])
Declaration
public T First<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type Parameters
FirstAsync<T>(Cql)
Declaration
public Task<T> FirstAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
FirstAsync<T>(String, Object[])
Declaration
public Task<T> FirstAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
FirstOrDefault<T>(Cql)
Declaration
public T FirstOrDefault<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type Parameters
FirstOrDefault<T>(String, Object[])
Declaration
public T FirstOrDefault<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type Parameters
FirstOrDefaultAsync<T>(Cql)
Declaration
public Task<T> FirstOrDefaultAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
FirstOrDefaultAsync<T>(String, Object[])
Declaration
public Task<T> FirstOrDefaultAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
Insert<T>(T, CqlQueryOptions)
Declaration
public void Insert<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Type Parameters
Insert<T>(T, Boolean, CqlQueryOptions)
Declaration
public void Insert<T>(T poco, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Type Parameters
Insert<T>(T, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public void Insert<T>(T poco, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Type Parameters
Insert<T>(T, String, CqlQueryOptions)
Declaration
public void Insert<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Type Parameters
Insert<T>(T, String, Boolean, CqlQueryOptions)
Declaration
public void Insert<T>(T poco, string executionProfile, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Type Parameters
Insert<T>(T, String, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public void Insert<T>(T poco, string executionProfile, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Type Parameters
InsertAsync<T>(T, CqlQueryOptions)
Declaration
public Task InsertAsync<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
InsertAsync<T>(T, Boolean, CqlQueryOptions)
Declaration
public Task InsertAsync<T>(T poco, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
InsertAsync<T>(T, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public Task InsertAsync<T>(T poco, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
InsertAsync<T>(T, String, CqlQueryOptions)
Declaration
public Task InsertAsync<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
InsertAsync<T>(T, String, Boolean, CqlQueryOptions)
Declaration
public Task InsertAsync<T>(T poco, string executionProfile, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
InsertAsync<T>(T, String, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public Task InsertAsync<T>(T poco, string executionProfile, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
InsertIfNotExists<T>(T, CqlQueryOptions)
Declaration
public AppliedInfo<T> InsertIfNotExists<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Returns
Type Parameters
InsertIfNotExists<T>(T, Boolean, CqlQueryOptions)
Declaration
public AppliedInfo<T> InsertIfNotExists<T>(T poco, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type Parameters
InsertIfNotExists<T>(T, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public AppliedInfo<T> InsertIfNotExists<T>(T poco, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type Parameters
InsertIfNotExists<T>(T, String, CqlQueryOptions)
Declaration
public AppliedInfo<T> InsertIfNotExists<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type Parameters
InsertIfNotExists<T>(T, String, Boolean, CqlQueryOptions)
Declaration
public AppliedInfo<T> InsertIfNotExists<T>(T poco, string executionProfile, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type Parameters
InsertIfNotExists<T>(T, String, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public AppliedInfo<T> InsertIfNotExists<T>(T poco, string executionProfile, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type Parameters
InsertIfNotExistsAsync<T>(T, CqlQueryOptions)
Declaration
public Task<AppliedInfo<T>> InsertIfNotExistsAsync<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
InsertIfNotExistsAsync<T>(T, Boolean, CqlQueryOptions)
Declaration
public Task<AppliedInfo<T>> InsertIfNotExistsAsync<T>(T poco, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
InsertIfNotExistsAsync<T>(T, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public Task<AppliedInfo<T>> InsertIfNotExistsAsync<T>(T poco, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
InsertIfNotExistsAsync<T>(T, String, CqlQueryOptions)
Declaration
public Task<AppliedInfo<T>> InsertIfNotExistsAsync<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
InsertIfNotExistsAsync<T>(T, String, Boolean, CqlQueryOptions)
Declaration
public Task<AppliedInfo<T>> InsertIfNotExistsAsync<T>(T poco, string executionProfile, bool insertNulls, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
InsertIfNotExistsAsync<T>(T, String, Boolean, Nullable<Int32>, CqlQueryOptions)
Declaration
public Task<AppliedInfo<T>> InsertIfNotExistsAsync<T>(T poco, string executionProfile, bool insertNulls, int? ttl, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
System.Boolean |
insertNulls |
|
System.Nullable<System.Int32> |
ttl |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
Single<T>(Cql)
Declaration
public T Single<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type Parameters
Single<T>(String, Object[])
Declaration
public T Single<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type Parameters
SingleAsync<T>(Cql)
Declaration
public Task<T> SingleAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
SingleAsync<T>(String, Object[])
Declaration
public Task<T> SingleAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
SingleOrDefault<T>(Cql)
Declaration
public T SingleOrDefault<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type Parameters
SingleOrDefault<T>(String, Object[])
Declaration
public T SingleOrDefault<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type Parameters
SingleOrDefaultAsync<T>(Cql)
Declaration
public Task<T> SingleOrDefaultAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
SingleOrDefaultAsync<T>(String, Object[])
Declaration
public Task<T> SingleOrDefaultAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
Update<T>(T, CqlQueryOptions)
Declaration
public void Update<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Type Parameters
Update<T>(T, String, CqlQueryOptions)
Declaration
public void Update<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Type Parameters
Update<T>(Cql)
Declaration
public void Update<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Type Parameters
Update<T>(String, Object[])
Declaration
public void Update<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Type Parameters
UpdateAsync<T>(T, CqlQueryOptions)
Declaration
public Task UpdateAsync<T>(T poco, CqlQueryOptions queryOptions = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
UpdateAsync<T>(T, String, CqlQueryOptions)
Declaration
public Task UpdateAsync<T>(T poco, string executionProfile, CqlQueryOptions queryOptions = null)
Parameters
Type |
Name |
Description |
T |
poco |
|
System.String |
executionProfile |
|
CqlQueryOptions |
queryOptions |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
UpdateAsync<T>(Cql)
Declaration
public Task UpdateAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
UpdateAsync<T>(String, Object[])
Declaration
public Task UpdateAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
UpdateIf<T>(Cql)
Declaration
public AppliedInfo<T> UpdateIf<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type Parameters
UpdateIf<T>(String, Object[])
Declaration
public AppliedInfo<T> UpdateIf<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type Parameters
UpdateIfAsync<T>(Cql)
Declaration
public Task<AppliedInfo<T>> UpdateIfAsync<T>(Cql cql)
Parameters
Type |
Name |
Description |
Cql |
cql |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
UpdateIfAsync<T>(String, Object[])
Declaration
public Task<AppliedInfo<T>> UpdateIfAsync<T>(string cql, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
cql |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AppliedInfo<T>> |
|
Type Parameters
Implements
See Also