Я создал UDT в Кассандре
Сотрудник UDT

Соответствующий c# класс, как показано ниже:
public class Employee
{
public int emp_id { get; set; }
public string emp_name { get; set; }
public int emp_age { get; set; }
}
И следующий код для подключить и сопоставить UDT с соответствующим c# классом:
var cluster = Cluster.Builder()
.AddContactPoint("localhost")
.Build();
ISession session = cluster.Connect("firstkeyspace");
//session.UserDefinedTypes.Define(UdtMap.For<Employee>().Automap());
session.UserDefinedTypes.Define(UdtMap.For<Employee>("employee", keyspace: "firstkeyspace"));
var rs = session.Execute("select * from employee");
При поиске с использованием следующей строки кода:
Employee employee = row.GetValue<Employee>("employee");
Я получаю следующую ошибку:

Пожалуйста, посмотрите и дайте мне знать, если что-то пропало.