1
Vote

VB.NET and Cassandraemon

description

Hi All,

I have tried many times without success to get the below working in VB.net
       Using context As New Cassandraemon.CassandraContext("127.0.0.1", 9160, "OpsCenter")


            Dim entitys = From x In context.Column
            Where x.ColumnFamily = "events" And x.Column = "action" Select x


            For Each z As CassandraEntity(Of Column) In entitys
                Console.WriteLine(z.Data.Value.ToUInt64())
            Next

        End Using
I have done the equivalent in c# and it works beautifully. Can anyone tell me where I am going wrong in the above. I have attached below a screen of the error

file attachments

comments