public class ExModel
{
public int ID {get;set;}
public string Name {get;set;}
public decimal? TotalExpenses {get;set;}
}
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Cassandra.InvalidTypeException: Unknown Cassandra target type for CLR type System.DBNull
at Cassandra.Serialization.GenericSerializer.Serialize(ProtocolVersion version, Object value)
at Cassandra.Serialization.Serializer.Serialize(Object value)
at Cassandra.FrameWriter.WriteAsBytes(Object value)
at Cassandra.QueryProtocolOptions.Write(FrameWriter wb, Boolean isPrepared)
at Cassandra.Requests.ExecuteRequest.WriteBody(FrameWriter wb)
at Cassandra.Requests.BaseRequest.WriteFrame(Int16 streamId, MemoryStream stream, ISerializer connectionSerializer)
at Cassandra.OperationState.WriteFrame(Int16 streamId, MemoryStream memoryStream, ISerializer serializer, Int64 timestamp)
at Cassandra.Connections.Connection.RunWriteQueueAction()
I'm not sure this error is happen from this lib or Cassandra driver.
Table model
I'm not sure this error is happen from this lib or Cassandra driver.