Click or drag to resize

TableTEntityInsert Method (TEntity, Boolean)

Namespace:  Cassandra.Data.Linq
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public CqlInsert<TEntity> Insert(
	TEntity entity,
	bool insertNulls
)

Parameters

entity
Type: TEntity
The entity to insert
insertNulls
Type: SystemBoolean
Determines if the query must be generated using NULL values for null entity members.

Use false if you don't want to consider null values for the INSERT operation (recommended).

Use true if you want to override all the values in the table, generating tombstones for null values.

Return Value

Type: CqlInsertTEntity
See Also