Click or drag to resize

IMapperInsertIfNotExistsT Method (T, String, CqlQueryOptions)

Inserts the specified POCO in Cassandra, if not exists, with the provided execution profile.

Returns information whether it was applied or not. If it was not applied, it returns details of the existing values.

Namespace:  Dse.Mapping
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
AppliedInfo<T> InsertIfNotExists<T>(
	T poco,
	string executionProfile,
	CqlQueryOptions queryOptions = null
)

Parameters

poco
Type: T
executionProfile
Type: SystemString
queryOptions (Optional)
Type: Dse.MappingCqlQueryOptions

Type Parameters

T

Return Value

Type: AppliedInfoT
See Also